[llvm] [AMDGPU] Prevent clauses with incompatible scopes on gfx1250-strict (PR #218788)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 25 17:56:52 PDT 2026


================
@@ -190,6 +190,23 @@ class SIInsertHardClauses {
     return true;
   }
 
+  // \return if scopes are different on gfx1250 and disallowed to be claused.
+  bool incompatibleScope(const MachineInstr &MI1, const MachineInstr &MI2,
----------------
shiltian wrote:

A function needs to start with a verb.

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


More information about the llvm-commits mailing list