aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/MemoryDependenceAnalysis.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-03-11 21:13:01 +0000
committerDale Johannesen <dalej@apple.com>2009-03-11 21:13:01 +0000
commit497cb6fd4c9505f49842edd3f754f967b5fd9401 (patch)
treeea04386abac1c1d12a314b485b9fc8088050207e /lib/Analysis/MemoryDependenceAnalysis.cpp
parent773f57e66eed0d1b793a6e20057962d332cef9a1 (diff)
Debug intriniscs should be skipped when looking
for a dependency, not terminate the search. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/MemoryDependenceAnalysis.cpp')
-rw-r--r--lib/Analysis/MemoryDependenceAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/MemoryDependenceAnalysis.cpp b/lib/Analysis/MemoryDependenceAnalysis.cpp
index 9ce7ca9c9d..ed95b90cc9 100644
--- a/lib/Analysis/MemoryDependenceAnalysis.cpp
+++ b/lib/Analysis/MemoryDependenceAnalysis.cpp
@@ -123,7 +123,7 @@ getCallSiteDependencyFrom(CallSite CS, bool isReadOnlyCall,
PointerSize = ~0ULL;
} else if (isa<CallInst>(Inst) || isa<InvokeInst>(Inst)) {
// Debug intrinsics don't cause dependences.
- if (isa<DbgInfoIntrinsic>(Inst)) break;
+ if (isa<DbgInfoIntrinsic>(Inst)) continue;
CallSite InstCS = CallSite::get(Inst);
// If these two calls do not interfere, look past it.
switch (AA->getModRefInfo(CS, InstCS)) {