[clang] [llvm] AMDGPU: Add gfx950 subtarget definitions (PR #116307)

Jay Foad via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 15 02:13:42 PST 2024


================
@@ -146,6 +146,11 @@ define amdgpu_kernel void @test_kernel() {
 ; RUN: llc -mtriple=amdgcn-amd-amdhsa --amdhsa-code-object-version=6 -mcpu=gfx9-generic -filetype=obj -O0 -o %t.o %s
 ; RUN: llvm-objdump -D --arch-name=amdgcn -mllvm --amdhsa-code-object-version=6 --mcpu=gfx9-generic %t.o > %t-specify.txt
 ; RUN: llvm-objdump -D  -mllvm --amdhsa-code-object-version=6 %t.o > %t-detect.txt
+;
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950 -filetype=obj -O0 -o %t.o %s
+; RUN: llvm-objdump -D --arch-name=amdgcn --mcpu=gfx950 %t.o > %t-specify.txt
+; RUN: llvm-objdump -D %t.o > %t-detect.txt
----------------
jayfoad wrote:

You've lost the "diff" run line for the clause above

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


More information about the cfe-commits mailing list