Skip to content

Commit

Permalink
[LV] Remove noalias intrinsics handling from scalarizeInstruction (NFC).
Browse files Browse the repository at this point in the history
This is now handled by the explicit unroller.
  • Loading branch information
fhahn committed Sep 27, 2024
1 parent c616f19 commit a4b27e7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit a4b27e7

Please sign in to comment.