[llvm] [X86] Improve helper for simplifying demanded bits of compares (PR #84360)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 11 05:51:12 PDT 2024
================
@@ -41293,6 +41293,154 @@ static SDValue combineShuffle(SDNode *N, SelectionDAG &DAG,
return SDValue();
}
+// Simplify a decomposed (sext (setcc)). Assumes prior check that
+// bitwidth(sext)==bitwidth(setcc operands).
+static SDValue simplifySExtOfDecomposedSetCCImpl(
+ SelectionDAG &DAG, SDLoc &DL, ISD::CondCode CC, SDValue Op0, SDValue Op1,
----------------
RKSimon wrote:
`const SDLoc &DL`
https://github.com/llvm/llvm-project/pull/84360
More information about the llvm-commits
mailing list