This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Add full tests for FoldAndOfFCmps and FoldOrOfFCmps
ClosedPublic

Authored by timshen on Jun 29 2016, 10:18 AM.

Details

Summary

This adds tests for covering all cases that FoldAndOfFCmps and FoldOrOfFCmps handle.

Diff Detail

Event Timeline

timshen updated this revision to Diff 62236.Jun 29 2016, 10:18 AM
timshen retitled this revision from to [InstCombine] Add full tests for FoldAndOfFCmps and FoldOrOfFCmps.
timshen updated this object.
timshen added a reviewer: spatel.
timshen added a subscriber: llvm-commits.
spatel edited edge metadata.Jun 29 2016, 10:28 AM

t1 - t7 in and-fcmp.ll and t1 - t5 in or-fcmp.ll are redundant (apart from using float rather than double) - delete?

timshen updated this revision to Diff 62243.Jun 29 2016, 10:53 AM
timshen edited edge metadata.

Done.

spatel accepted this revision.Jun 29 2016, 10:58 AM
spatel edited edge metadata.

LGTM. Thanks!

This revision is now accepted and ready to land.Jun 29 2016, 10:58 AM
This revision was automatically updated to reflect the committed changes.