Skip to content

Commit 3f9b0bf

Browse files
Update comment.
1 parent 43daf9c commit 3f9b0bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1657,7 +1657,7 @@ SDValue SelectionDAG::getConstant(const ConstantInt &Val, const SDLoc &DL,
16571657
const ConstantInt *Elt = &Val;
16581658

16591659
// Vector splats are explicit within the DAG, with ConstantSDNode holding the
1660-
// to be splatted scalar ConstantInt.
1660+
// to-be-splatted scalar ConstantInt.
16611661
if (isa<VectorType>(Elt->getType()))
16621662
Elt = ConstantInt::get(*getContext(), Elt->getValue());
16631663

@@ -1817,7 +1817,7 @@ SDValue SelectionDAG::getConstantFP(const ConstantFP &V, const SDLoc &DL,
18171817
const ConstantFP *Elt = &V;
18181818

18191819
// Vector splats are explicit within the DAG, with ConstantFPSDNode holding
1820-
// the to be splatted scalar ConstantFP.
1820+
// the to-be-splatted scalar ConstantFP.
18211821
if (isa<VectorType>(Elt->getType()))
18221822
Elt = ConstantFP::get(*getContext(), Elt->getValue());
18231823

0 commit comments

Comments
 (0)