Skip to content

Commit 46dd8ac

Browse files
committed
[AMDGPU] Fix typos. NFC
1 parent 821dee9 commit 46dd8ac

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ void GCNSchedStage::checkScheduling() {
934934
DAG.RegionsWithMinOcc[RegionIdx] =
935935
PressureAfter.getOccupancy(ST) == DAG.MinOccupancy;
936936

937-
// Early out if we have achieve the occupancy target.
937+
// Early out if we have achieved the occupancy target.
938938
LLVM_DEBUG(dbgs() << "Pressure in desired limits, done.\n");
939939
return;
940940
}

llvm/lib/Target/AMDGPU/GCNSchedStrategy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ class PreRARematStage : public GCNSchedStage {
372372
MapVector<unsigned, MapVector<MachineInstr *, MachineInstr *>>
373373
RematerializableInsts;
374374

375-
// Map a trivially remateriazable def to a list of regions at MinOccupancy
375+
// Map a trivially rematerializable def to a list of regions at MinOccupancy
376376
// that has the defined reg as a live-in.
377377
DenseMap<MachineInstr *, SmallVector<unsigned, 4>> RematDefToLiveInRegions;
378378

llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ main_body:
440440
ret float %val
441441
}
442442

443-
; Make sure a frame index folding doessn't crash on a MUBUF not used
443+
; Make sure a frame index folding doesn't crash on a MUBUF not used
444444
; for stack access.
445445

446446
; CHECK-LABEL: {{^}}no_fold_fi_imm_soffset:

0 commit comments

Comments
 (0)