[llvm] [DAG] Combine `store + vselect` to `masked_store` (PR #145176)
    Abhishek Kaushik via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sun Jul 20 04:11:58 PDT 2025
    
    
  
================
@@ -691,6 +691,12 @@ void TargetLoweringBase::initActions() {
       setAtomicLoadExtAction({ISD::SEXTLOAD, ISD::ZEXTLOAD}, ValVT, MemVT,
                              Expand);
 
+  for (MVT VT : MVT::all_valuetypes()) {
+    if (VT == MVT::Other)
+      continue;
+    setOperationAction(ISD::MSTORE, VT, Expand);
+  }
----------------
abhishek-kaushik22 wrote:
Sorry, I missed that loop earlier, now I have made the default action to expand without using a new loop.
https://github.com/llvm/llvm-project/pull/145176
    
    
More information about the llvm-commits
mailing list