[llvm] [DAGCombine] Invert vselect to make TrueValue is binop (PR #167499)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 11 04:52:50 PST 2025
================
@@ -2508,6 +2508,15 @@ static SDValue foldSelectWithIdentityConstant(SDNode *N, SelectionDAG &DAG,
FVal)) {
SDValue F0 = DAG.getFreeze(N0);
SDValue NewBO = DAG.getNode(Opcode, SDLoc(N), VT, F0, FVal, N->getFlags());
----------------
RKSimon wrote:
Pull out `SDLoc DL(N)` to stop so many recreations
https://github.com/llvm/llvm-project/pull/167499
More information about the llvm-commits
mailing list