This is an archive of the discontinued LLVM Phabricator instance.

[ScalarEvolution] Make isKnownNonZero handle more cases.
ClosedPublic

Authored by efriedma on Jul 13 2021, 2:51 PM.

Details

Summary

Using an unsigned range instead of signed ranges is a bit more precise.

Diff Detail

Event Timeline

efriedma created this revision.Jul 13 2021, 2:51 PM
efriedma requested review of this revision.Jul 13 2021, 2:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2021, 2:51 PM
reames accepted this revision.Jul 13 2021, 3:00 PM

LGTM

Nice catch!

This revision is now accepted and ready to land.Jul 13 2021, 3:00 PM
This revision was landed with ongoing or failed builds.Jul 13 2021, 3:37 PM
This revision was automatically updated to reflect the committed changes.