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:
4807e07
)
if we have a phi translation failure of the start block,
author
Chris Lattner
<sabre@nondot.org>
Mon, 15 Dec 2008 04:58:29 +0000
(
04:58
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 15 Dec 2008 04:58:29 +0000
(
04:58
+0000)
return *just* a clobber of the start block, not other
random stuff as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61026
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 1dfa1fac0843e410c7d2ac83c61c13fa086b4de3..a5bfeee7bc1fcdfe570ca095757f9e2929d57fa8 100644
(file)
--- a/
lib/Analysis/MemoryDependenceAnalysis.cpp
+++ b/
lib/Analysis/MemoryDependenceAnalysis.cpp
@@
-494,6
+494,7
@@
getNonLocalPointerDependency(Value *Pointer, bool isLoad, BasicBlock *FromBB,
if (!getNonLocalPointerDepFromBB(Pointer, PointeeSize, isLoad, FromBB,
Result, Visited, true))
return;
+ Result.clear();
Result.push_back(std::make_pair(FromBB,
MemDepResult::getClobber(FromBB->begin())));
}