[llvm] [AMDGPU] gfx1250 SOPP MC tests. NFC. (PR #145082)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 20 11:15:42 PDT 2025


================
@@ -1,4 +1,5 @@
-# RUN: llvm-mc -triple=amdgcn -mcpu=gfx1200 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefixes=GFX12 %s
+# RUN: llvm-mc -triple=amdgcn -mcpu=gfx1200 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefixes=GFX12,GFX1200 %s
+# RUN: llvm-mc -triple=amdgcn -mcpu=gfx1250 -disassemble -show-encoding < %s | FileCheck -strict-whitespace -check-prefixes=GFX12 %s
----------------
jayfoad wrote:

How does this work without a `not`? Doesn't the disassembler give an error on the unrecognized gfx1200-only instructions?

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


More information about the llvm-commits mailing list