Skip to content

Commit c569b12

Browse files
committed
nfc, inline the poison generation
1 parent a4c58f0 commit c569b12

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3926,8 +3926,7 @@ void VPInterleaveEVLRecipe::execute(VPTransformState &State) {
39263926
Instruction *Member = Group->getMember(I);
39273927
// Skip the gaps in the group.
39283928
if (!Member) {
3929-
Value *Undef = PoisonValue::get(SubVT);
3930-
StoredVecs.push_back(Undef);
3929+
StoredVecs.push_back(PoisonValue::get(SubVT));
39313930
continue;
39323931
}
39333932

0 commit comments

Comments
 (0)