[llvm] [X86] Combine `store + vselect` to `masked_store` (PR #145176)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 23 01:23:29 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:
setOperationAction(ISD::MSTORE is not set for anything prior to AVX - are you referring to tests with @llvm.masked.store intrinsics that have been legalized?
https://github.com/llvm/llvm-project/pull/145176
More information about the llvm-commits
mailing list