Skip to content

Commit 34a3c23

Browse files
authored
[AArch64][SVE] Change placeholder from undef to poison (llvm#130519)
Default to a `poison` vector when calling `@llvm.vector.insert`.
1 parent dc23234 commit 34a3c23

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
@@ -17505,7 +17505,7 @@ bool AArch64TargetLowering::lowerInterleavedStore(StoreInst *SI,
1750517505

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

1751117511
Ops.push_back(Shuffle);

0 commit comments

Comments
 (0)