[PATCH] D119654: [SDAG] enable binop identity constant folds for add/sub
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 13 06:59:10 PST 2022
xbolva00 added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:3333
+ if (N0->getOpcode() == ISD::FREEZE && N0.hasOneUse())
+ N0 = N0->getOperand(0);
----------------
Some general solution? FREEZE should be dropped much sooner, no?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119654/new/
https://reviews.llvm.org/D119654
More information about the llvm-commits
mailing list