Skip to content

Commit 8e65760

Browse files
committed
Fix comments
1 parent 294ce1d commit 8e65760

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

llvm/lib/Target/AMDGPU/AMDGPU.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ def FeatureSetPrioIncWgInst : SubtargetFeature<"setprio-inc-wg-inst",
12381238
// Subtarget Features (options and debugging)
12391239
//===------------------------------------------------------------===//
12401240

1241-
// Ugly hack to accomodate an assembling modules with mixed
1241+
// Ugly hack to accomodate assembling modules with mixed
12421242
// wavesizes. Ideally we would have a mapping symbol in assembly which
12431243
// would keep track of which sections of code should be treated as
12441244
// wave32 and wave64. Instead what users do is assemble with both

llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ createAMDGPUMCSubtargetInfo(const Triple &TT, StringRef CPU, StringRef FS) {
9797
? AMDGPU::FeatureWavefrontSize32
9898
: AMDGPU::FeatureWavefrontSize64);
9999
} else if (IsWave64 && IsWave32) {
100-
// The wave size is mutually exclusive. If both somehow end up set, wave64
100+
// The wave size is mutually exclusive. If both somehow end up set, wave32
101101
// wins if supported.
102102
STI->ToggleFeature(AMDGPU::supportsWave32(*STI)
103103
? AMDGPU::FeatureWavefrontSize64

llvm/test/MC/AMDGPU/wavesize-feature-unsupported-target.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1250 -mattr=+wavefrontsize64 -o - %s | FileCheck -check-prefix=GFX1250 %s
22
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx900 -mattr=+wavefrontsize32 -o - %s | FileCheck -check-prefix=GFX900 %s
33

4-
// Both are supported, but not at the same time
4+
// Both sure setting both modes is supported at the same time.
55
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1010 -mattr=+wavefrontsize32,+wavefrontsize64 %s | FileCheck -check-prefixes=GFX10 %s
66

77
// Test that there is no assertion when using an explicit

0 commit comments

Comments
 (0)