This is an archive of the discontinued LLVM Phabricator instance.

[Reassociation][PR21205] Don't canonicalize X - undef to X + (-undef).
ClosedPublic

Authored by mcrosier on Oct 8 2014, 7:13 AM.

Details

Summary

This isn't going to expose additional opportunities for reassociation, AFAICT, and it's currently causing an assertion failure.
For further details, see: http://llvm.org/bugs/show_bug.cgi?id=21205
Please have a look.
Regards,

Chad

Diff Detail

Event Timeline

mcrosier updated this revision to Diff 14574.Oct 8 2014, 7:13 AM
mcrosier retitled this revision from to [Reassociation][PR21205] Don't canonicalize X - undef to X + (-undef)..
mcrosier updated this object.
mcrosier edited the test plan for this revision. (Show Details)
mcrosier added reviewers: joerg, resistor, chandlerc, hfinkel.
mcrosier added a subscriber: Unknown Object (MLST).
mcrosier added inline comments.
test/Transforms/Reassociate/pr21205.ll
1

I missed the FileCheck.. one moment.

mcrosier updated this revision to Diff 14576.Oct 8 2014, 7:17 AM

With correct FileCheck.

hfinkel accepted this revision.Oct 9 2014, 11:16 AM
hfinkel edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Oct 9 2014, 11:16 AM
mcrosier closed this revision.Oct 9 2014, 1:18 PM

Committed r219434.