This is an archive of the discontinued LLVM Phabricator instance.

[IRCE][NFC] Add no wrap flags to no-wrapping SCEV calculation
ClosedPublic

Authored by mkazantsev on Nov 17 2017, 12:49 AM.

Details

Summary

In a lambda where we expect to have result within bounds, add respective nsw/nuw flags to
help SCEV just in case if it fails to figure them out on its own.

Diff Detail

Repository
rL LLVM

Event Timeline

anna accepted this revision.Nov 17 2017, 10:32 AM

lgtm

This revision is now accepted and ready to land.Nov 17 2017, 10:32 AM
mkazantsev edited the summary of this revision. (Show Details)Nov 21 2017, 10:24 PM
This revision was automatically updated to reflect the committed changes.