Skip to content

Commit d18eeae

Browse files
committed
DAG: Use poison in SplitVecRes_VP_LOAD_FF
1 parent 2466334 commit d18eeae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2363,7 +2363,7 @@ void DAGTypeLegalizer::SplitVecRes_VP_LOAD_FF(VPLoadFFSDNode *LD, SDValue &Lo,
23632363
Lo = DAG.getLoadFFVP(LoVT, dl, Ch, Ptr, MaskLo, EVLLo, MMO);
23642364

23652365
// Fill the upper half with poison.
2366-
Hi = DAG.getUNDEF(HiVT);
2366+
Hi = DAG.getPOISON(HiVT);
23672367

23682368
ReplaceValueWith(SDValue(LD, 1), Lo.getValue(1));
23692369
ReplaceValueWith(SDValue(LD, 2), Lo.getValue(2));

0 commit comments

Comments
 (0)