[llvm] a4b27e7 - [LV] Remove noalias intrinsics handling from scalarizeInstruction (NFC).

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 27 11:38:59 PDT 2024


Author: Florian Hahn
Date: 2024-09-27T19:38:38+01:00
New Revision: a4b27e7f27226fbbea732163508ee3556a82bae5

URL: https://github.com/llvm/llvm-project/commit/a4b27e7f27226fbbea732163508ee3556a82bae5
DIFF: https://github.com/llvm/llvm-project/commit/a4b27e7f27226fbbea732163508ee3556a82bae5.diff

LOG: [LV] Remove noalias intrinsics handling from scalarizeInstruction (NFC).

This is now handled by the explicit unroller.

Added: 
    

Modified: 
    llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index b1077d37b4cdc7..17c7bc55c4b928 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -2325,12 +2325,6 @@ void InnerLoopVectorizer::scalarizeInstruction(const Instruction *Instr,
                                                VPTransformState &State) {
   assert(!Instr->getType()->isAggregateType() && "Can't handle vectors");
 
-  // llvm.experimental.noalias.scope.decl intrinsics must only be duplicated for
-  // the first lane and part.
-  if (isa<NoAliasScopeDeclInst>(Instr))
-    if (!Lane.isFirstLane())
-      return;
-
   // Does this instruction return a value ?
   bool IsVoidRetTy = Instr->getType()->isVoidTy();
 


        


More information about the llvm-commits mailing list