Bug 21610: Canonicalize min/max fcmp selects to use ordered comparisons
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 24 Nov 2014 23:15:18 +0000 (23:15 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 24 Nov 2014 23:15:18 +0000 (23:15 +0000)
commit2543acd1692f8591d87c2cf7f81adf07546dcb2e
tree33ec1e5ae05bfea9b5a714c227ea1a3c7576c0d0
parent3ff3cb7fe3bfe5ab56af7cabd92d8a81545e3b1b
Bug 21610: Canonicalize min/max fcmp selects to use ordered comparisons

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222705 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineSelect.cpp
test/Transforms/InstCombine/unordered-fcmp-select.ll [new file with mode: 0644]
test/Transforms/LoopVectorize/minmax_reduction.ll