projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
when merging two alias sets, the result set is volatile if either
[oota-llvm.git]
/
lib
/
Analysis
/
AliasSetTracker.cpp
diff --git
a/lib/Analysis/AliasSetTracker.cpp
b/lib/Analysis/AliasSetTracker.cpp
index 6c18f227005701b5643f5fde8dc506bebf4db178..d52085e575447c9dfbd7d0c54609821cf2f2b36c 100644
(file)
--- a/
lib/Analysis/AliasSetTracker.cpp
+++ b/
lib/Analysis/AliasSetTracker.cpp
@@
-35,6
+35,7
@@
void AliasSet::mergeSetIn(AliasSet &AS, AliasSetTracker &AST) {
// Update the alias and access types of this set...
AccessTy |= AS.AccessTy;
AliasTy |= AS.AliasTy;
+ Volatile |= AS.Volatile;
if (AliasTy == MustAlias) {
// Check that these two merged sets really are must aliases. Since both