Since now SCEV can handle 'urem', an 'urem' is a better canonical form than an 'srem' because it has well-defined behavior
This is a follow up of D34598
Differential D38072
[SimplifyIndvar] Replace the srem used by IV if we can prove both of its operands are non-negative etherzhhb on Sep 19 2017, 7:17 PM. Authored by
Details Since now SCEV can handle 'urem', an 'urem' is a better canonical form than an 'srem' because it has well-defined behavior This is a follow up of D34598
Diff Detail
Event Timeline
Comment Actions This is looking close; only some nitpicky comments inline
Comment Actions LGTM with comments addressed.
|