[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:40 PDT 2026


================
@@ -1,6 +1,7 @@
 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
 # RUN: llc -mtriple=amdgpu12.00 -verify-machineinstrs -run-pass si-insert-hard-clauses %s -o - | FileCheck %s -check-prefixes=GFX12,GFX1200
 # RUN: llc -mtriple=amdgpu12.50 -run-pass si-insert-hard-clauses %s -o - | FileCheck %s -check-prefixes=GFX12,GFX1250
+# RUN: llc -mtriple=amdgpu12.50s -mcpu=gfx1250-strict -run-pass si-insert-hard-clauses %s -o - | FileCheck %s -check-prefixes=GFX12,GFX1250_STRICT
----------------
shiltian wrote:

No need for `-mcpu`?

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


More information about the llvm-commits mailing list