mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 15:33:16 +00:00
Fix SingleSource/Benchmarks/McGill/chomp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16912 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f8d1097e9d
commit
4a2b23e189
@ -1898,6 +1898,7 @@ SCEVHandle ScalarEvolutionsImpl::HowFarToZero(SCEV *V, const Loop *L) {
|
||||
//
|
||||
// Get the initial value for the loop.
|
||||
SCEVHandle Start = getSCEVAtScope(AddRec->getStart(), L->getParentLoop());
|
||||
if (isa<SCEVCouldNotCompute>(Start)) return UnknownValue;
|
||||
SCEVHandle Step = AddRec->getOperand(1);
|
||||
|
||||
Step = getSCEVAtScope(Step, L->getParentLoop());
|
||||
|
Loading…
Reference in New Issue
Block a user