diff options
author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-01-22 05:54:46 +0000 |
---|---|---|
committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-01-22 05:54:46 +0000 |
commit | 290adb31845d2c6b11eb56d02eb45ca4eaa4cfae (patch) | |
tree | 463e88cd08dde481ab2a254d9084241c83a609bf /llvm/lib/Target/AMDGPU | |
parent | 635fd9092b059b1fb7327f83963c5009d3edef0e (diff) | |
download | bcm5719-llvm-290adb31845d2c6b11eb56d02eb45ca4eaa4cfae.tar.gz bcm5719-llvm-290adb31845d2c6b11eb56d02eb45ca4eaa4cfae.zip |
[NFC] fix trivial typos in comments
"the the" -> "the"
llvm-svn: 323074
Diffstat (limited to 'llvm/lib/Target/AMDGPU')
-rw-r--r-- | llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp b/llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp index d414b899050..cd7ccb4ac31 100644 --- a/llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp +++ b/llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp @@ -81,7 +81,7 @@ void GCNMaxOccupancySchedStrategy::initCandidate(SchedCandidate &Cand, SUnit *SU Cand.AtTop = AtTop; // getDownwardPressure() and getUpwardPressure() make temporary changes to - // the the tracker, so we need to pass those function a non-const copy. + // the tracker, so we need to pass those function a non-const copy. RegPressureTracker &TempTracker = const_cast<RegPressureTracker&>(RPTracker); std::vector<unsigned> Pressure; diff --git a/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp b/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp index 21035a44a9c..3c73dd78f20 100644 --- a/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp +++ b/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp @@ -1054,8 +1054,8 @@ void SIRegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator MI, // Convert to an absolute stack address by finding the offset from the // scratch wave base and scaling by the wave size. // - // In an entry function/kernel the stack address is already the absolute - // address relative to the the scratch wave offset. + // In an entry function/kernel the stack address is already the + // absolute address relative to the scratch wave offset. unsigned DiffReg = MRI.createVirtualRegister(&AMDGPU::SReg_32_XM0RegClass); |