[llvm] [AMDGPU] Handle register variant S_SETREG when fixing VGPR MSB clobbers (PR #218941)

Arseniy Obolenskiy via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 21:13:52 PDT 2026


================
@@ -1252,6 +1252,19 @@ class SIInstrInfo final : public AMDGPUGenInstrInfo {
     }
   }
 
+  /// \returns true if \p Opcode is any S_SETREG_B32/S_SETREG_IMM32_B32 variant.
+  static bool isSSetReg(unsigned Opcode) {
----------------
aobolensk wrote:

Done

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


More information about the llvm-commits mailing list