[llvm] r319009 - [SelectionDAG] Fix function name in comment. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 26 21:52:53 PST 2017
Author: ctopper
Date: Sun Nov 26 21:52:52 2017
New Revision: 319009
URL: http://llvm.org/viewvc/llvm-project?rev=319009&view=rev
Log:
[SelectionDAG] Fix function name in comment. NFC
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp?rev=319009&r1=319008&r2=319009&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp Sun Nov 26 21:52:52 2017
@@ -243,7 +243,7 @@ SDValue DAGTypeLegalizer::ScalarizeVecRe
// 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
// legal and was not scalarized.
- // See the similar logic in ScalarizeVecRes_VSETCC
+ // See the similar logic in ScalarizeVecRes_SETCC
if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) {
Op = GetScalarizedVector(Op);
} else {
@@ -307,7 +307,7 @@ SDValue DAGTypeLegalizer::ScalarizeVecRe
SDLoc DL(N);
// 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.
- // See the similar logic in ScalarizeVecRes_VSETCC
+ // See the similar logic in ScalarizeVecRes_SETCC
if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) {
Cond = GetScalarizedVector(Cond);
} else {
More information about the llvm-commits
mailing list