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)
13 lines
400 B
LLVM
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
|
|
}
|