This is an archive of the discontinued LLVM Phabricator instance.

[DAGCombine] (A+C1)-C2 -> A+(C1-C2) constant-fold
ClosedPublic

Authored by lebedev.ri on May 30 2019, 7:14 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

lebedev.ri created this revision.May 30 2019, 7:14 AM

Better test coverage.

And actually fix the test coverage (:
Sorry for the noise.

t.p.northover accepted this revision.May 30 2019, 9:56 AM
t.p.northover added a subscriber: t.p.northover.

Looks reasonable.

This revision is now accepted and ready to land.May 30 2019, 9:56 AM
This revision was automatically updated to reflect the committed changes.