]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
Combine fcmp + select to fminnum / fmaxnum if no nans and legal
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 13 Jan 2015 00:43:00 +0000 (00:43 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 13 Jan 2015 00:43:00 +0000 (00:43 +0000)
commit29ad7506e199e4bcca1bfa092ead6fd0ce220ae3
tree5b3e5d85884899a0d3445843d4fc7a7d25321bc0
parent9136fdd9b7012552fb0405a23f8a3e385ae9ae63
Combine fcmp + select to fminnum / fmaxnum if no nans and legal

Also require unsafe FP math for no since there isn't a way to
test for signed zeros.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225744 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/R600/fmax_legacy.ll
test/CodeGen/R600/fmin_legacy.ll