1 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx700 < %s | FileCheck --check-prefixes=ASM %s
2 ; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx700 --filetype=obj < %s | llvm-readobj --file-headers - | FileCheck --check-prefixes=ELF %s
4 ; ASM: .amdgcn_target "amdgcn-amd-amdhsa--gfx700"
5 ; ASM: amdhsa.target: amdgcn-amd-amdhsa--gfx700
10 ; ELF: OS/ABI: AMDGPU_HSA (0x40)
13 ; ELF-NEXT: EF_AMDGPU_MACH_AMDGCN_GFX700 (0x22)
16 define void @func0() {
21 !llvm.module.flags = !{!0}
22 !0 = !{i32 1, !"amdgpu_code_object_version", i32 400}