mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
Unbreak the build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12956 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e9fc96e7cc
commit
0aa84fdd04
@ -2490,6 +2490,7 @@ Value *ScalarEvolutionRewriter::ExpandCodeFor(SCEVHandle SH,
|
||||
if ((*UI)->getType() == Ty)
|
||||
if (CastInst *CI = dyn_cast<CastInst>(cast<Instruction>(*UI))) {
|
||||
BasicBlock::iterator It = I; ++It;
|
||||
while (isa<PHINode>(It)) ++It;
|
||||
if (It != BasicBlock::iterator(CI)) {
|
||||
// Splice the cast immediately after the operand in question.
|
||||
I->getParent()->getInstList().splice(It,
|
||||
|
Loading…
x
Reference in New Issue
Block a user