[llvm] [AMDGPU] Hoist s_set_vgpr_msb past SALU control instructions (PR #172108)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 12 15:45:54 PST 2025


================
@@ -457,6 +457,12 @@ class SIInstrInfo final : public AMDGPUGenInstrInfo {
     return get(Opcode).TSFlags & SIInstrFlags::SALU;
   }
 
+  static bool isControlInstr(const MachineInstr &MI) {
----------------
rampitec wrote:

It still has to be something else, not Control. IdempotentSALU?

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


More information about the llvm-commits mailing list