projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dc9e81
)
strength reduce this.
author
Chris Lattner
<sabre@nondot.org>
Tue, 30 Nov 2010 01:56:13 +0000
(
01:56
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 30 Nov 2010 01:56:13 +0000
(
01:56
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120381
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/MemoryDependenceAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/MemoryDependenceAnalysis.cpp
b/lib/Analysis/MemoryDependenceAnalysis.cpp
index ad3489376e463a8bb936e04bec2ed96bd21c72c3..c833184b6fd0aec31f55ddfb43872b138d557278 100644
(file)
--- a/
lib/Analysis/MemoryDependenceAnalysis.cpp
+++ b/
lib/Analysis/MemoryDependenceAnalysis.cpp
@@
-411,7
+411,7
@@
MemDepResult MemoryDependenceAnalysis::getDependency(Instruction *QueryInst) {
if (MemLoc.Ptr) {
// If we can do a pointer scan, make it happen.
bool isLoad = !(MR & AliasAnalysis::Mod);
- if (IntrinsicInst *II = dyn_cast<
MemoryUseIntrinsic
>(QueryInst))
+ if (IntrinsicInst *II = dyn_cast<
IntrinsicInst
>(QueryInst))
isLoad |= II->getIntrinsicID() == Intrinsic::lifetime_end;
LocalCache = getPointerDependencyFrom(MemLoc, isLoad, ScanPos,