[llvm] [DAG] Combine `store + vselect` to `masked_store` (PR #145176)
Abhishek Kaushik via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 29 12:05:38 PDT 2025
================
@@ -22488,12 +22488,53 @@ SDValue DAGCombiner::visitATOMIC_STORE(SDNode *N) {
return SDValue();
}
+static SDValue foldToMaskedStore(StoreSDNode *Store, SelectionDAG &DAG,
+ const SDLoc &Dl) {
+ using namespace llvm::SDPatternMatch;
----------------
abhishek-kaushik22 wrote:
Yes, sorry I missed that. I've changed it to use `isNormalStore`
https://github.com/llvm/llvm-project/pull/145176
More information about the llvm-commits
mailing list