File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ class Value {
242242 // /
243243 // / This is useful when you just want to print 'int %reg126', not the
244244 // / instruction that generated it. If you specify a Module for context, then
245- // / even constanst get pretty-printed; for example, the type of a null
245+ // / even constants get pretty-printed; for example, the type of a null
246246 // / pointer is printed symbolically.
247247 // / @{
248248 void printAsOperand (raw_ostream &O, bool PrintType = true ,
Original file line number Diff line number Diff line change @@ -10286,7 +10286,7 @@ SDValue DAGCombiner::visitSRA(SDNode *N) {
1028610286 // If truncate is free for the target sext(shl) is likely to result in better
1028710287 // code.
1028810288 if (N0.getOpcode() == ISD::SHL && N1C) {
10289- // Get the two constanst of the shifts, CN0 = m, CN = n.
10289+ // Get the two constants of the shifts, CN0 = m, CN = n.
1029010290 const ConstantSDNode *N01C = isConstOrConstSplat(N0.getOperand(1));
1029110291 if (N01C) {
1029210292 LLVMContext &Ctx = *DAG.getContext();
You can’t perform that action at this time.
0 commit comments