mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-22 00:37:49 +00:00
Fix MSVC warnings by adding a cast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144721 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f8c10e5cb1
commit
de631128d6
@ -3827,8 +3827,8 @@ LSRInstance::LSRInstance(const TargetLowering *tli, Loop *l, Pass *P)
|
||||
// Remove any extra phis created by processing inner loops.
|
||||
SmallVector<WeakVH, 16> DeadInsts;
|
||||
SCEVExpander Rewriter(SE, "lsr");
|
||||
Changed |= Rewriter.replaceCongruentIVs(L, &DT, DeadInsts);
|
||||
Changed |= DeleteTriviallyDeadInstructions(DeadInsts);
|
||||
Changed |= (bool)Rewriter.replaceCongruentIVs(L, &DT, DeadInsts);
|
||||
Changed |= (bool)DeleteTriviallyDeadInstructions(DeadInsts);
|
||||
}
|
||||
DEBUG(dbgs() << "LSR skipping outer loop " << *L << "\n");
|
||||
return;
|
||||
@ -3880,8 +3880,8 @@ LSRInstance::LSRInstance(const TargetLowering *tli, Loop *l, Pass *P)
|
||||
// Remove any extra phis created by processing inner loops.
|
||||
SmallVector<WeakVH, 16> DeadInsts;
|
||||
SCEVExpander Rewriter(SE, "lsr");
|
||||
Changed |= Rewriter.replaceCongruentIVs(L, &DT, DeadInsts);
|
||||
Changed |= DeleteTriviallyDeadInstructions(DeadInsts);
|
||||
Changed |= (bool)Rewriter.replaceCongruentIVs(L, &DT, DeadInsts);
|
||||
Changed |= (bool)DeleteTriviallyDeadInstructions(DeadInsts);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user