Skip to content

Commit a4b27e7

Browse files
committed
[LV] Remove noalias intrinsics handling from scalarizeInstruction (NFC).
This is now handled by the explicit unroller.
1 parent c616f19 commit a4b27e7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2325,12 +2325,6 @@ void InnerLoopVectorizer::scalarizeInstruction(const Instruction *Instr,
23252325
VPTransformState &State) {
23262326
assert(!Instr->getType()->isAggregateType() && "Can't handle vectors");
23272327

2328-
// llvm.experimental.noalias.scope.decl intrinsics must only be duplicated for
2329-
// the first lane and part.
2330-
if (isa<NoAliasScopeDeclInst>(Instr))
2331-
if (!Lane.isFirstLane())
2332-
return;
2333-
23342328
// Does this instruction return a value ?
23352329
bool IsVoidRetTy = Instr->getType()->isVoidTy();
23362330

0 commit comments

Comments
 (0)