[SelectionDAG] Fix function name in comment. NFC

llvm-svn: 319009
This commit is contained in:
Craig Topper 2017-11-27 05:52:52 +00:00
parent 40007586fc
commit 968491b4e7
1 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ SDValue DAGTypeLegalizer::ScalarizeVecRes_UnaryOp(SDNode *N) {
// For instance, this happens on AArch64: v1i1 is illegal but v1i{8,16,32} // For instance, this happens on AArch64: v1i1 is illegal but v1i{8,16,32}
// are widened to v8i8, v4i16, and v2i32, which is legal, because v1i64 is // are widened to v8i8, v4i16, and v2i32, which is legal, because v1i64 is
// legal and was not scalarized. // legal and was not scalarized.
// See the similar logic in ScalarizeVecRes_VSETCC // See the similar logic in ScalarizeVecRes_SETCC
if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) {
Op = GetScalarizedVector(Op); Op = GetScalarizedVector(Op);
} else { } else {
@ -307,7 +307,7 @@ SDValue DAGTypeLegalizer::ScalarizeVecRes_VSELECT(SDNode *N) {
SDLoc DL(N); SDLoc DL(N);
// The vselect result and true/value operands needs scalarizing, but it's // The vselect result and true/value operands needs scalarizing, but it's
// not a given that the Cond does. For instance, in AVX512 v1i1 is legal. // not a given that the Cond does. For instance, in AVX512 v1i1 is legal.
// See the similar logic in ScalarizeVecRes_VSETCC // See the similar logic in ScalarizeVecRes_SETCC
if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) {
Cond = GetScalarizedVector(Cond); Cond = GetScalarizedVector(Cond);
} else { } else {