1 ; RUN: llc < %s -mtriple=r600 -mcpu=redwood -filetype=obj | llvm-readobj -S - | FileCheck --check-prefix=ELF %s
2 ; RUN: llc < %s -mtriple=r600 -mcpu=redwood -o - | FileCheck --check-prefix=CONFIG %s
4 ; ELF: Format: elf32-amdgpu
5 ; ELF: Name: .AMDGPU.config
7 ; CONFIG: .section .AMDGPU.config
8 ; CONFIG-NEXT: .long 166100
10 ; CONFIG-NEXT: .long 165900
11 ; CONFIG-NEXT: .long 0
12 define amdgpu_kernel void @test(ptr addrspace(1) %out, i32 %p) {
14 %r = bitcast i32 %i to float
15 store float %r, ptr addrspace(1) %out