[llvm] [AMDGPU] Reject src1 immediates with dpp when unsupported (PR #201494)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 03:15:06 PDT 2026


================
@@ -1,9 +1,16 @@
-# RUN: not --crash llc -mtriple=amdgcn -mcpu=gfx1100 -run-pass=none -filetype=null %s 2>&1 | FileCheck %s --check-prefix=GFX_NO_SRC1_SGPR
-# RUN: llc -mtriple=amdgcn -mcpu=gfx1150 -run-pass=none -filetype=null %s 2>&1 | FileCheck %s --check-prefix=GFX_SRC1_SGPR
-# RUN: llc -mtriple=amdgcn -mcpu=gfx1200 -run-pass=none -filetype=null %s 2>&1 | FileCheck %s --check-prefix=GFX_SRC1_SGPR
+# RUN: split-file %s %t
+
+# RUN: not --crash llc -mtriple=amdgcn -mcpu=gfx1100 -run-pass=none -filetype=null %t/sgpr.mir 2>&1 | FileCheck %t/sgpr.mir --check-prefix=GFX_NO_SRC1_SGPR
----------------
arsenm wrote:

I'd just introduce a new test rather than multiplying the number of run lines in this one 

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


More information about the llvm-commits mailing list