Files
Matt ArsenaultandClaude 6e42e25efa AMDGPU: Migrate CodeGen tests to amdgpu subarch triple (10) (#208894)
Mechanically migrate the command-line target spelling on llc/opt RUN
lines in llvm/test/CodeGen/AMDGPU from -mtriple=amdgcn ... -mcpu=<gfx> to the
folded subarch triple form (e.g. -mtriple=amdgpu9.00-amd-amdhsa), dropping the
redundant -mcpu.

Co-Authored-By: Claude <noreply@anthropic.com> (Claude-Opus-4.8)
2026-07-13 10:52:17 +02:00

13 lines
400 B
LLVM

; RUN: llc < %s -mtriple=amdgpu6.01 -mattr=dumpcode -filetype=obj | FileCheck --check-prefix=SI %s
; RUN: llc < %s -mtriple=amdgpu8.02 -mattr=dumpcode -filetype=obj | FileCheck --check-prefix=SI %s
; Test for a crash in the custom assembly dump code.
; SI: test:
; SI: BB0_0:
; SI: s_endpgm
define amdgpu_kernel void @test(ptr addrspace(1) %out) {
store i32 0, ptr addrspace(1) %out
ret void
}