Skip to content

Commit bc3144d

Browse files
committed
[AArch64][SVE] Change placeholder from undef to poison
Default to a `poison` vector when calling `@llvm.vector.insert`.
1 parent 74ca579 commit bc3144d

File tree

2 files changed

+38
-38
lines changed

2 files changed

+38
-38
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17504,7 +17504,7 @@ bool AArch64TargetLowering::lowerInterleavedStore(StoreInst *SI,
1750417504

1750517505
if (UseScalable)
1750617506
Shuffle = Builder.CreateInsertVector(
17507-
STVTy, UndefValue::get(STVTy), Shuffle,
17507+
STVTy, PoisonValue::get(STVTy), Shuffle,
1750817508
ConstantInt::get(Type::getInt64Ty(STVTy->getContext()), 0));
1750917509

1751017510
Ops.push_back(Shuffle);

0 commit comments

Comments
 (0)