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:
776ee1f
)
Fix a crasher when finding the dependency of a call.
author
Owen Anderson
<resistor@mac.com>
Tue, 10 Jul 2007 20:39:07 +0000
(20:39 +0000)
committer
Owen Anderson
<resistor@mac.com>
Tue, 10 Jul 2007 20:39:07 +0000
(20:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38510
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 af105ccb06b8b471bbdefd27969c442e4e6a0b21..4168cd6fb1850e2be59a40288a16e0c1f1674e70 100644
(file)
--- a/
lib/Analysis/MemoryDependenceAnalysis.cpp
+++ b/
lib/Analysis/MemoryDependenceAnalysis.cpp
@@
-83,7
+83,8
@@
Instruction* MemoryDependenceAnalysis::getCallSiteDependency(CallSite C, bool lo
} else {
continue;
}
- }
+ } else
+ continue;
if (AA.getModRefInfo(C, pointer, pointerSize) != AliasAnalysis::NoModRef) {
depGraphLocal.insert(std::make_pair(C.getInstruction(), std::make_pair(QI, true)));