mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-09 22:24:37 +00:00
Ignore DbgInfoIntrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63923 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -42,6 +42,7 @@
|
||||
#define DEBUG_TYPE "loop-index-split"
|
||||
|
||||
#include "llvm/Transforms/Scalar.h"
|
||||
#include "llvm/IntrinsicInst.h"
|
||||
#include "llvm/Analysis/LoopPass.h"
|
||||
#include "llvm/Analysis/ScalarEvolutionExpander.h"
|
||||
#include "llvm/Analysis/Dominators.h"
|
||||
@ -1104,7 +1105,8 @@ bool LoopIndexSplit::cleanBlock(BasicBlock *BB) {
|
||||
Instruction *I = BI;
|
||||
|
||||
if (isa<PHINode>(I) || I == Terminator || I == ExitCondition
|
||||
|| I == SplitCondition || IVBasedValues.count(I))
|
||||
|| I == SplitCondition || IVBasedValues.count(I)
|
||||
|| isa<DbgInfoIntrinsic>(I))
|
||||
continue;
|
||||
|
||||
if (I->mayWriteToMemory())
|
||||
|
Reference in New Issue
Block a user