Skip to content

Commit 9f69c1b

Browse files
committed
[AMDGPU] Rename pseudo S_WAITCNT_IDLE to S_WAIT_IDLE. NFC.
1 parent a8a79c9 commit 9f69c1b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,7 @@ int GCNHazardRecognizer::checkFPAtomicToDenormModeHazard(MachineInstr *MI) {
11841184
case AMDGPU::S_WAITCNT_VMCNT:
11851185
case AMDGPU::S_WAITCNT_EXPCNT:
11861186
case AMDGPU::S_WAITCNT_LGKMCNT:
1187-
case AMDGPU::S_WAITCNT_IDLE:
1187+
case AMDGPU::S_WAIT_IDLE:
11881188
return true;
11891189
default:
11901190
break;

llvm/lib/Target/AMDGPU/SOPInstructions.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,7 +1300,7 @@ let SubtargetPredicate = isGFX10Plus in {
13001300
SOPP_Pseudo<"s_inst_prefetch", (ins s16imm:$simm16), "$simm16">;
13011301
def S_CLAUSE :
13021302
SOPP_Pseudo<"s_clause", (ins s16imm:$simm16), "$simm16">;
1303-
def S_WAITCNT_IDLE :
1303+
def S_WAIT_IDLE :
13041304
SOPP_Pseudo <"s_wait_idle", (ins), ""> {
13051305
let simm16 = 0;
13061306
let fixed_imm = 1;
@@ -1759,7 +1759,7 @@ defm S_ENDPGM_ORDERED_PS_DONE : SOPP_Real_32_gfx8_gfx9_gfx10<0x01e>;
17591759
defm S_CODE_END : SOPP_Real_32_gfx10<0x01f>;
17601760
defm S_INST_PREFETCH : SOPP_Real_32_gfx10<0x020>;
17611761
defm S_CLAUSE : SOPP_Real_32_gfx10<0x021>;
1762-
defm S_WAITCNT_IDLE : SOPP_Real_32_gfx10<0x022>;
1762+
defm S_WAIT_IDLE : SOPP_Real_32_gfx10<0x022>;
17631763
defm S_WAITCNT_DEPCTR : SOPP_Real_32_gfx10<0x023>;
17641764
defm S_ROUND_MODE : SOPP_Real_32_gfx10<0x024>;
17651765
defm S_DENORM_MODE : SOPP_Real_32_gfx10<0x025>;

0 commit comments

Comments
 (0)