[llvm] [X86] Combine `store + vselect` to `masked_store` (PR #145176)
Abhishek Kaushik via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 22 08:43:21 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) {
----------------
abhishek-kaushik22 wrote:
I tried in instcombine first https://github.com/llvm/llvm-project/pull/144298
https://github.com/llvm/llvm-project/pull/145176
More information about the llvm-commits
mailing list