mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
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
This commit is contained in:
parent
773f57e66e
commit
497cb6fd4c
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user