]> granicus.if.org Git - llvm/commit
DAGCombine: Remove redundant NaN checks around ISD::FSQRT
authorTom Stellard <thomas.stellard@amd.com>
Mon, 20 Apr 2015 19:38:27 +0000 (19:38 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 20 Apr 2015 19:38:27 +0000 (19:38 +0000)
commit4eccd9814fbb8303d5d2817843a2d7038d5f1167
treecdc2f0c8556bff3204bf503f59f0b320d25d6fb6
parenteb963a5f2ad1a634f4195bcdd4a3bb916f06b482
DAGCombine: Remove redundant NaN checks around ISD::FSQRT

This folds:

(select (setcc x, -0.0, *lt), NaN, (fsqrt x)) -> ( fsqrt x)

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