This is an archive of the discontinued LLVM Phabricator instance.

[SCEV] Turn check in createSimpleAffineAddRec to assertion. (NFC)
ClosedPublic

Authored by fhahn on Nov 26 2021, 4:45 AM.

Details

Summary

Accum is guaranteed to be defined outside L (via Loop::isLoopInvariant
checks above). I think that should guarantee that the more powerful
ScalarEvolution::isLoopInvariant also determines that the value is loop
invariant.

Diff Detail

Event Timeline

fhahn created this revision.Nov 26 2021, 4:45 AM
fhahn requested review of this revision.Nov 26 2021, 4:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 26 2021, 4:45 AM
This revision is now accepted and ready to land.Nov 26 2021, 4:52 AM
This revision was landed with ongoing or failed builds.Nov 26 2021, 5:24 AM
This revision was automatically updated to reflect the committed changes.