[llvm] [X86] Combine `store + vselect` to `masked_store` (PR #145176)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 22 06:16:28 PDT 2025
================
@@ -53403,6 +53404,76 @@ static SDValue combineMaskedStore(SDNode *N, SelectionDAG &DAG,
return SDValue();
}
+static SDValue foldToMaskedStore(StoreSDNode *Store, SelectionDAG &DAG,
+ const SDLoc &Dl,
+ const X86Subtarget &Subtarget) {
----------------
RKSimon wrote:
why are we doing this in the DAG and not earlier on in SLP/VectorCombine/InstCombine ?
https://github.com/llvm/llvm-project/pull/145176
More information about the llvm-commits
mailing list