mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-27 06:54:30 +00:00
Another place where debug info affected codegen.
llvm-svn: 98026
This commit is contained in:
parent
4494a28b3c
commit
d79b87c260
@ -1286,6 +1286,8 @@ Value *SCEVExpander::expand(const SCEV *S) {
|
||||
// there) so that it is guaranteed to dominate any user inside the loop.
|
||||
if (L && S->hasComputableLoopEvolution(L) && L != PostIncLoop)
|
||||
InsertPt = L->getHeader()->getFirstNonPHI();
|
||||
while (isa<DbgInfoIntrinsic>(InsertPt))
|
||||
InsertPt = llvm::next(BasicBlock::iterator(InsertPt));
|
||||
while (isInsertedInstruction(InsertPt))
|
||||
InsertPt = llvm::next(BasicBlock::iterator(InsertPt));
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user