[PATCH] D79304: [DAG] Fold (mul(abs(x),abs(x))) -> (mul(x,x)) (PR39476)
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 3 11:09:35 PDT 2020
lebedev.ri added a comment.
Echoing what @craig.topper asked, do we somehow end up with that pattern after instcombine had a chance to do this fold?
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:5059
+// on success.
+SDValue DAGCombiner::MatchABS(SDNode *N) {
+ if (N->getOpcode() == ISD::ABS)
----------------
Precommit NFC cleanup?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79304/new/
https://reviews.llvm.org/D79304
More information about the llvm-commits
mailing list