[PATCH] D94480: [DAGCombine] Correct the result for sqrt even the iteration is zero
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 19 01:55:52 PST 2021
RKSimon added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:5860
+ // Test = X == 0.0
+ return DAG.getSetCC(DL, CCVT, Op, FPZero, ISD::SETEQ);
+}
----------------
(style) drop the else
```
if (Mode.Input == DenormalMode::IEEE) {
...
}
// Test = X == 0.0
return DAG.getSetCC(DL, CCVT, Op, FPZero, ISD::SETEQ);
}
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94480/new/
https://reviews.llvm.org/D94480
More information about the llvm-commits
mailing list