[llvm-commits] [llvm] r66711 - /llvm/branches/Apple/Dib/lib/Analysis/MemoryDependenceAnalysis.cpp
Bill Wendling
isanbard at gmail.com
Wed Mar 11 14:49:00 PDT 2009
Author: void
Date: Wed Mar 11 16:48:59 2009
New Revision: 66711
URL: http://llvm.org/viewvc/llvm-project?rev=66711&view=rev
Log:
--- Merging (from foreign repository) r66709 into '.':
U lib/Analysis/MemoryDependenceAnalysis.cpp
Debug intriniscs should be skipped when looking
for a dependency, not terminate the search.
Modified:
llvm/branches/Apple/Dib/lib/Analysis/MemoryDependenceAnalysis.cpp
Modified: llvm/branches/Apple/Dib/lib/Analysis/MemoryDependenceAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Dib/lib/Analysis/MemoryDependenceAnalysis.cpp?rev=66711&r1=66710&r2=66711&view=diff
==============================================================================
--- llvm/branches/Apple/Dib/lib/Analysis/MemoryDependenceAnalysis.cpp (original)
+++ llvm/branches/Apple/Dib/lib/Analysis/MemoryDependenceAnalysis.cpp Wed Mar 11 16:48:59 2009
@@ -121,6 +121,8 @@
// FreeInsts erase the entire structure
PointerSize = ~0ULL;
} else if (isa<CallInst>(Inst) || isa<InvokeInst>(Inst)) {
+ // Debug intrinsics don't cause dependences.
+ 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)) {
More information about the llvm-commits
mailing list