diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2016-06-28 01:45:05 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2016-06-28 01:45:05 +0000 |
commit | 9980075133ceec5746318ba133a1b09cffebd6ee (patch) | |
tree | 0975f8c56f20d2ff64ecdb1779dc267dde290d74 /llvm/lib/Target/PowerPC/PPCISelLowering.cpp | |
parent | 73fa33b1026e26d1331d5e51890243ae4d9a5c17 (diff) | |
download | bcm5719-llvm-9980075133ceec5746318ba133a1b09cffebd6ee.tar.gz bcm5719-llvm-9980075133ceec5746318ba133a1b09cffebd6ee.zip |
NFC. Fix popular typo in comment 'deferencing' --> 'dereferencing'.
Bonus changes, * placement in X86ISelLowering and 'exerce' -> 'exercise' in test.
llvm-svn: 273984
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp index b895f3fe80c..f0c1551b4c1 100644 --- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp @@ -2975,8 +2975,8 @@ SDValue PPCTargetLowering::LowerFormalArguments_32SVR4( SDValue FIN = DAG.getFrameIndex(FuncInfo->getVarArgsFrameIndex(), PtrVT); // The fixed integer arguments of a variadic function are stored to the - // VarArgsFrameIndex on the stack so that they may be loaded by deferencing - // the result of va_next. + // VarArgsFrameIndex on the stack so that they may be loaded by + // dereferencing the result of va_next. for (unsigned GPRIndex = 0; GPRIndex != NumGPArgRegs; ++GPRIndex) { // Get an existing live-in vreg, or add a new one. unsigned VReg = MF.getRegInfo().getLiveInVirtReg(GPArgRegs[GPRIndex]); @@ -3432,8 +3432,8 @@ SDValue PPCTargetLowering::LowerFormalArguments_64SVR4( SDValue FIN = DAG.getFrameIndex(FuncInfo->getVarArgsFrameIndex(), PtrVT); // If this function is vararg, store any remaining integer argument regs - // to their spots on the stack so that they may be loaded by deferencing the - // result of va_next. + // to their spots on the stack so that they may be loaded by dereferencing + // the result of va_next. for (GPR_idx = (ArgOffset - LinkageSize) / PtrByteSize; GPR_idx < Num_GPR_Regs; ++GPR_idx) { unsigned VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass); @@ -3789,8 +3789,8 @@ SDValue PPCTargetLowering::LowerFormalArguments_Darwin( SDValue FIN = DAG.getFrameIndex(FuncInfo->getVarArgsFrameIndex(), PtrVT); // If this function is vararg, store any remaining integer argument regs - // to their spots on the stack so that they may be loaded by deferencing the - // result of va_next. + // to their spots on the stack so that they may be loaded by dereferencing + // the result of va_next. for (; GPR_idx != Num_GPR_Regs; ++GPR_idx) { unsigned VReg; |