[llvm-branch-commits] [llvm] [LLVM][ConstantTime] Strengthen constant-time handling of CTSELECT in DAG combine and legalization (PR #180883)

Julius Alexandre via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Feb 11 09:33:25 PST 2026


================
@@ -12219,8 +12218,7 @@ template <class MatchContextClass>
 static SDValue foldBoolSelectToLogic(SDNode *N, const SDLoc &DL,
                                      SelectionDAG &DAG) {
   assert((N->getOpcode() == ISD::SELECT || N->getOpcode() == ISD::VSELECT ||
-          N->getOpcode() == ISD::VP_SELECT ||
-          N->getOpcode() == ISD::CTSELECT) &&
----------------
wizardengineer wrote:

Same for here

https://github.com/llvm/llvm-project/pull/180883


More information about the llvm-branch-commits mailing list