There is a piece of logic that uses the fact that signed and unsigned versions of the
same predicate are equivalent when both values are non-negative. It's also true when
both of them are negative.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
It would be really good to implement this same logic in Utils/SimplifyIndVars.cpp where we canonicalize comparisons to unsigned for the known-non-negative case. @mkazantsev Can I ask you to implement that as a follow up please?