This is an archive of the discontinued LLVM Phabricator instance.

CannotBeOrderedLessThanZero: add some missing cases
ClosedPublic

Authored by escha on Jan 8 2016, 3:16 PM.

Details

Summary

Per the title.

Diff Detail

Repository
rL LLVM

Event Timeline

escha updated this revision to Diff 44381.Jan 8 2016, 3:16 PM
escha retitled this revision from to CannotBeOrderedLessThanZero: add some missing cases.
escha updated this object.
escha added reviewers: resistor, delena, spatel.
escha set the repository for this revision to rL LLVM.
escha added a subscriber: llvm-commits.
arsenm added a subscriber: arsenm.Jan 8 2016, 3:19 PM

Needs tests

escha updated this revision to Diff 44388.Jan 8 2016, 4:27 PM

Added test cases and fixed a small error.

spatel added inline comments.Jan 11 2016, 1:51 PM
test/Transforms/InstSimplify/floating-point-compare.ll
72–80

This test already works via ThreadCmpOverSelect(). Is there some other way to expose this case?

escha updated this revision to Diff 44666.Jan 12 2016, 1:36 PM

Fixed a test case to no longer fall victim to an unrelated optimization.

spatel accepted this revision.Jan 12 2016, 2:27 PM
spatel edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Jan 12 2016, 2:27 PM
escha closed this revision.Jan 12 2016, 3:53 PM