This is an archive of the discontinued LLVM Phabricator instance.

InstCombine: fdiv -x, -y -> fdiv x, y
ClosedPublic

Authored by arsenm on Jan 3 2017, 8:39 AM.

Details

Reviewers
majnemer

Diff Detail

Event Timeline

arsenm updated this revision to Diff 82895.Jan 3 2017, 8:39 AM
arsenm retitled this revision from to InstCombine: fdiv -x, -y -> fdiv x, y.
arsenm updated this object.
arsenm added a subscriber: llvm-commits.
majnemer accepted this revision.Jan 10 2017, 2:12 PM
majnemer edited edge metadata.

LGTM

test/Transforms/InstCombine/fdiv.ll
62–69

This test does not provide additional coverage.

This revision is now accepted and ready to land.Jan 10 2017, 2:12 PM
arsenm added inline comments.Jan 10 2017, 2:14 PM
test/Transforms/InstCombine/fdiv.ll
62–69

This checks that the fast math falls are preserved

majnemer added inline comments.Jan 10 2017, 2:34 PM
test/Transforms/InstCombine/fdiv.ll
62–69

Ah, right...

arsenm closed this revision.Jan 10 2017, 3:19 PM

r291611