This folds:
(select (setcc x, -0.0, olt), NaN, (fsqrt x)) -> ( fsqrt x)
Paths
| Differential D8470
DAGCombine: Remove redundant NaN checks around ISD::FSQRT ClosedPublic Authored by • tstellarAMD on Mar 19 2015, 3:07 PM.
Details
Summary This folds: (select (setcc x, -0.0, olt), NaN, (fsqrt x)) -> ( fsqrt x)
Diff Detail
Event Timeline• tstellarAMD retitled this revision from to DAGCombine: Remove redundant NaN checks around ISD::FSQRT. • tstellarAMD updated this object. mehdi_amini added inline comments. • tstellarAMD edited edge metadata. Comment ActionsHere is an updated patch with the typo fix and with an expanded pattern that patches all of the *LT flavors of condition codes. I forgot to mention before that this patch depends on http://reviews.llvm.org/D8469 This revision is now accepted and ready to land.Mar 20 2015, 9:46 AM
Revision Contents
Diff 22352 lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/R600/llvm.sqrt.ll
|
s/becuase/because