[llvm] [VPlan] Manage noalias/alias_scope metadata in VPlan. (NFC) (PR #136450)
    Florian Hahn via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sat May  3 03:20:55 PDT 2025
    
    
  
================
@@ -2760,9 +2759,7 @@ void VPWidenLoadRecipe::execute(VPTransformState &State) {
   } else {
     NewLI = Builder.CreateAlignedLoad(DataTy, Addr, Alignment, "wide.load");
   }
-  // Add metadata to the load, but set the result to the reverse shuffle, if
-  // needed.
-  State.addNewMetadata(cast<Instruction>(NewLI), &Ingredient);
+  // Add metadata to the load, but setVectorValue to the reverse shuffle.
----------------
fhahn wrote:
I dropped the comment, as the behavior should be clear from the code.
https://github.com/llvm/llvm-project/pull/136450
    
    
More information about the llvm-commits
mailing list