This is an archive of the discontinued LLVM Phabricator instance.

Reassociate: cannot negate a INT_MIN value
ClosedPublic

Authored by mehdi_amini on Jan 29 2015, 5:10 PM.

Details

Summary

When trying to canonicalize negative constants out of
multiplication expressions, we need to check that the
constant is not INT_MIN which cannot be negated.

Diff Detail

Event Timeline

mehdi_amini retitled this revision from to Reassociate: cannot negate a INT_MIN value.
mehdi_amini updated this object.
mehdi_amini edited the test plan for this revision. (Show Details)
mehdi_amini added a reviewer: mcrosier.
mehdi_amini added a subscriber: Unknown Object (MLST).
mcrosier accepted this revision.Jan 30 2015, 9:37 AM
mcrosier edited edge metadata.
This revision is now accepted and ready to land.Jan 30 2015, 9:37 AM
mehdi_amini closed this revision.Feb 19 2015, 9:57 PM