This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Disallow icmp with negative imm and overflow
ClosedPublic

Authored by samparker on Sep 14 2018, 9:20 AM.

Details

Summary

We allow overflowing instructions if they're decreasing and only used by an unsigned compare. Add the extra condition that the icmp cannot be using a negative immediate.

Diff Detail

Repository
rL LLVM

Event Timeline

samparker created this revision.Sep 14 2018, 9:20 AM
This revision is now accepted and ready to land.Sep 17 2018, 6:11 AM
This revision was automatically updated to reflect the committed changes.