Optimize anding of two fcmp into a single fcmp if the operands are the same. e.g...
authorEvan Cheng <evan.cheng@apple.com>
Tue, 14 Oct 2008 17:15:11 +0000 (17:15 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 14 Oct 2008 17:15:11 +0000 (17:15 +0000)
commit8db90725cb4c256641492145ada42369c702f714
tree0853e8e34b787a61877268706da458bf14fbd908
parent9aeea5bd6aefddd8b4bcd72b0a517aff98b0ca40
Optimize anding of two fcmp into a single fcmp if the operands are the same. e.g. uno && ueq -> ueq
     ord && olt -> olt
     ord && ueq -> oeq

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57507 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/and-fcmp.ll [new file with mode: 0644]