Skip to content

Commit 45e4b3d

Browse files
committed
Change comments
1 parent 1111ad4 commit 45e4b3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6057,11 +6057,11 @@ SDValue DAGTypeLegalizer::WidenVecRes_LOOP_DEPENDENCE_MASK(SDNode *N) {
60576057

60586058
SDValue DAGTypeLegalizer::WidenVecRes_BUILD_VECTOR(SDNode *N) {
60596059
SDLoc dl(N);
6060-
// Build a vector with undefined for the new nodes.
6060+
// Build a vector with poison for the new nodes.
60616061
EVT VT = N->getValueType(0);
60626062

60636063
// Integer BUILD_VECTOR operands may be larger than the node's vector element
6064-
// type. The UNDEFs need to have the same type as the existing operands.
6064+
// type. The POISONs need to have the same type as the existing operands.
60656065
EVT EltVT = N->getOperand(0).getValueType();
60666066
unsigned NumElts = VT.getVectorNumElements();
60676067

0 commit comments

Comments
 (0)