mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-25 16:30:05 +00:00
Fix some of the strange CBE-only failures that happened last night.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12980 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e1f0cf179f
commit
006118fe8c
@ -386,6 +386,7 @@ void IndVarSimplify::runOnLoop(Loop *L) {
|
||||
|
||||
// Now that we know the largest of of the induction variables in this loop,
|
||||
// insert a canonical induction variable of the largest size.
|
||||
LargestType = LargestType->getUnsignedVersion();
|
||||
Value *IndVar = Rewriter.GetOrInsertCanonicalInductionVariable(L,LargestType);
|
||||
++NumInserted;
|
||||
Changed = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user