OSDN Git Service

[InstCombine] add/adjust tests for fcmp+select substitution; NFC
authorSanjay Patel <spatel@rotateright.com>
Mon, 5 Nov 2018 18:09:10 +0000 (18:09 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 5 Nov 2018 18:09:10 +0000 (18:09 +0000)
commit513520e5af92af4db74e5711b62910a90e6eed18
tree2bac5c238115991a5eb23c0709927de8b5b2b87e
parent26835b9b0c8d6e7e6007fd374e1edb046c329bd3
[InstCombine] add/adjust tests for fcmp+select substitution; NFC

There was no coverage for at least 2 out of the 4 patterns because
of fcmp canonicalization. The tests and code should be moved to
InstSimplify in a follow-up because this doesn't create any new values.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346150 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstCombine/fcmp-select.ll