llvm.org GIT mirror llvm / 58d2b3a
fix typos in comments and error messages; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307533 91177308-0d34-0410-b5e6-96231b3b80d8 Hiroshi Inoue 3 years ago
5 changed file(s) with 8 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
33713371
33723372 if (Delinearize && CommonLevels > 1) {
33733373 if (tryDelinearize(Src, Dst, Pair)) {
3374 DEBUG(dbgs() << " delinerized GEP\n");
3374 DEBUG(dbgs() << " delinearized GEP\n");
33753375 Pairs = Pair.size();
33763376 }
33773377 }
37963796
37973797 if (Delinearize && CommonLevels > 1) {
37983798 if (tryDelinearize(Src, Dst, Pair)) {
3799 DEBUG(dbgs() << " delinerized GEP\n");
3799 DEBUG(dbgs() << " delinearized GEP\n");
38003800 Pairs = Pair.size();
38013801 }
38023802 }
24572457 do {
24582458 Reg = RecoloringCandidates.pop_back_val();
24592459
2460 // We cannot recolor physcal register.
2460 // We cannot recolor physical register.
24612461 if (TargetRegisterInfo::isPhysicalRegister(Reg))
24622462 continue;
24632463
1140011400 /// Shift = srl Ty1 Origin, CstTy Amount
1140111401 /// Inst = trunc Shift to Ty2
1140211402 ///
11403 /// Then, it will be rewriten into:
11403 /// Then, it will be rewritten into:
1140411404 /// Slice = load SliceTy, Base + SliceOffset
1140511405 /// [Inst = zext Slice to Ty2], only if SliceTy <> Ty2
1140611406 ///
588588 } else
589589 AddOperand(MIB, N0, 0, nullptr, VRBaseMap, /*IsDebug=*/false,
590590 IsClone, IsCloned);
591 // Add the subregster being inserted
591 // Add the subregister being inserted
592592 AddOperand(MIB, N1, 0, nullptr, VRBaseMap, /*IsDebug=*/false,
593593 IsClone, IsCloned);
594594 MIB.addImm(SubIdx);
64256425 SelectionDAG &DAG) const {
64266426 SDLoc dl(Op);
64276427
6428 // Get the corect type for integers.
6428 // Get the correct type for integers.
64296429 EVT IntVT = Op.getValueType();
64306430
64316431 // Get the inputs.
64426442 // When we pop the dynamic allocation we need to restore the SP link.
64436443 SDLoc dl(Op);
64446444
6445 // Get the corect type for pointers.
6445 // Get the correct type for pointers.
64466446 EVT PtrVT = getPointerTy(DAG.getDataLayout());
64476447
64486448 // Construct the stack pointer operand.
65176517 SDValue Size = Op.getOperand(1);
65186518 SDLoc dl(Op);
65196519
6520 // Get the corect type for pointers.
6520 // Get the correct type for pointers.
65216521 EVT PtrVT = getPointerTy(DAG.getDataLayout());
65226522 // Negate the size.
65236523 SDValue NegSize = DAG.getNode(ISD::SUB, dl, PtrVT,