diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-10-09 22:44:47 +0000 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-10-09 22:44:47 +0000 |
| commit | e114be608feb0878352ae2a41ded1bc4f3b9cb21 (patch) | |
| tree | 3f7cd8750c42e73b0364ccbe8f6f4eb9bb8fdc70 /llvm/lib | |
| parent | 3cd3959fe2794bf2c7d225f57cdb3f2622b0bc24 (diff) | |
| download | bcm5719-llvm-e114be608feb0878352ae2a41ded1bc4f3b9cb21.tar.gz bcm5719-llvm-e114be608feb0878352ae2a41ded1bc4f3b9cb21.zip | |
AMDGPU: Fix typos
llvm-svn: 374253
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp b/llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp index dad9fedff25..93df7f3e49b 100644 --- a/llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp +++ b/llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp @@ -606,14 +606,14 @@ static bool hoistAndMergeSGPRInits(unsigned Reg, auto MBB = MI->getParent(); MachineInstr &BoundaryMI = *getFirstNonPrologue(MBB, TII); MachineBasicBlock::reverse_iterator B(BoundaryMI); - // Check if B should actually be a bondary. If not set the previous + // Check if B should actually be a boundary. If not set the previous // instruction as the boundary instead. if (!TII->isBasicBlockPrologue(*B)) B++; auto R = std::next(MI->getReverseIterator()); const unsigned Threshold = 50; - // Search until B or Threashold for a place to insert the initialization. + // Search until B or Threshold for a place to insert the initialization. for (unsigned I = 0; R != B && I < Threshold; ++R, ++I) if (R->readsRegister(Reg, TRI) || R->definesRegister(Reg, TRI) || TII->isSchedulingBoundary(*R, MBB, *MBB->getParent())) |

