mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
speed up -gvn 3.4% on the testcase in PR7023
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113135 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
50fb46983c
commit
c5a5cf26fd
@ -176,7 +176,7 @@ getPointerDependencyFrom(Value *MemPtr, uint64_t MemSize, bool isLoad,
|
|||||||
|
|
||||||
if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
|
if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
|
||||||
// Debug intrinsics don't cause dependences.
|
// Debug intrinsics don't cause dependences.
|
||||||
if (isa<DbgInfoIntrinsic>(Inst)) continue;
|
if (isa<DbgInfoIntrinsic>(II)) continue;
|
||||||
|
|
||||||
// If we pass an invariant-end marker, then we've just entered an
|
// If we pass an invariant-end marker, then we've just entered an
|
||||||
// invariant region and can start ignoring dependencies.
|
// invariant region and can start ignoring dependencies.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user