[clang] [llvm] [AMDGPU] Add s_setprio_inc_wg gfx1250 instruction (PR #145152)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 22 00:11:56 PDT 2025


================
@@ -9669,6 +9670,9 @@ int SIInstrInfo::pseudoToMCOpcode(int Opcode) const {
 
   int MCOp = AMDGPU::getMCOpcode(Opcode, Gen);
 
+  if (MCOp == (uint16_t)-1 && ST.hasGFX1250Insts())
----------------
rampitec wrote:

This is also a common pattern in this function, we do it all the time. Although I have to admit we may soon change it as our number of instructions is getting close to 64K.

https://github.com/llvm/llvm-project/pull/145152


More information about the llvm-commits mailing list