OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a4ccc3
)
Have AliasSet::aliasesUnknownInst use pointer TBAA info when available
author
Hal Finkel
<hfinkel@anl.gov>
Fri, 10 Feb 2012 15:52:39 +0000
(15:52 +0000)
committer
Hal Finkel
<hfinkel@anl.gov>
Fri, 10 Feb 2012 15:52:39 +0000
(15:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150249
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/AliasSetTracker.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/AliasSetTracker.cpp
b/lib/Analysis/AliasSetTracker.cpp
index
3fcd3b5
..
f80e2fb
100644
(file)
--- a/
lib/Analysis/AliasSetTracker.cpp
+++ b/
lib/Analysis/AliasSetTracker.cpp
@@
-189,7
+189,9
@@
bool AliasSet::aliasesUnknownInst(Instruction *Inst, AliasAnalysis &AA) const {
}
for (iterator I = begin(), E = end(); I != E; ++I)
- if (AA.getModRefInfo(Inst, I.getPointer(), I.getSize()) !=
+ if (AA.getModRefInfo(Inst, AliasAnalysis::Location(I.getPointer(),
+ I.getSize(),
+ I.getTBAAInfo())) !=
AliasAnalysis::NoModRef)
return true;