diff options
author | Dale Johannesen <dalej@apple.com> | 2009-03-11 21:13:01 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-03-11 21:13:01 +0000 |
commit | f61c8e81bd5ef3974873ecb48b514f04cec0930f (patch) | |
tree | 7703250bcebacdd92888b0959068e9bac491d28d /llvm/lib/Analysis | |
parent | 7d4d379a00ce12199d6de24d3e0e517be5a58aaf (diff) | |
download | bcm5719-llvm-f61c8e81bd5ef3974873ecb48b514f04cec0930f.tar.gz bcm5719-llvm-f61c8e81bd5ef3974873ecb48b514f04cec0930f.zip |
Debug intriniscs should be skipped when looking
for a dependency, not terminate the search.
llvm-svn: 66709
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r-- | llvm/lib/Analysis/MemoryDependenceAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp index 9ce7ca9c9d2..ed95b90cc98 100644 --- a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp +++ b/llvm/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)) { |