Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/CodeGen/AMDGPU/elf-notes.ll
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | |||||
; OSABI-HSA-ELF: NumSGPRs: 96 | ; OSABI-HSA-ELF: NumSGPRs: 96 | ||||
; OSABI-HSA-ELF: ... | ; OSABI-HSA-ELF: ... | ||||
; OSABI-HSA-ELF-NOT: NT_AMD_AMDGPU_PAL_METADATA (PAL Metadata) | ; OSABI-HSA-ELF-NOT: NT_AMD_AMDGPU_PAL_METADATA (PAL Metadata) | ||||
; OSABI-PAL-NOT: .hsa_code_object_version | ; OSABI-PAL-NOT: .hsa_code_object_version | ||||
; OSABI-PAL: .hsa_code_object_isa | ; OSABI-PAL: .hsa_code_object_isa | ||||
; OSABI-PAL: .amd_amdgpu_isa "amdgcn-amd-amdpal--gfx802" | ; OSABI-PAL: .amd_amdgpu_isa "amdgcn-amd-amdpal--gfx802" | ||||
; OSABI-PAL-NOT: .amd_amdgpu_hsa_metadata | ; OSABI-PAL-NOT: .amd_amdgpu_hsa_metadata | ||||
; OSABI-PAL: .amd_amdgpu_pal_metadata | |||||
; OSABI-PAL-ELF: Unknown note type: (0x00000003) | ; OSABI-PAL-ELF: Unknown note type: (0x00000003) | ||||
; OSABI-PAL-ELF: NT_AMD_AMDGPU_ISA (ISA Version) | ; OSABI-PAL-ELF: NT_AMD_AMDGPU_ISA (ISA Version) | ||||
; OSABI-PAL-ELF: ISA Version: | ; OSABI-PAL-ELF: ISA Version: | ||||
; OSABI-PAL-ELF: amdgcn-amd-amdpal--gfx802 | ; OSABI-PAL-ELF: amdgcn-amd-amdpal--gfx802 | ||||
; OSABI-PAL-ELF-NOT: NT_AMD_AMDGPU_HSA_METADATA (HSA Metadata) | ; OSABI-PAL-ELF-NOT: NT_AMD_AMDGPU_HSA_METADATA (HSA Metadata) | ||||
; OSABI-PAL-ELF: NT_AMD_AMDGPU_PAL_METADATA (PAL Metadata) | ; OSABI-PAL-ELF: NT_AMDGPU_METADATA (AMDGPU Metadata) | ||||
; TODO: readobj can no longer dump PAL metadata pending resolution of D52821 | ; OSABI-PAL-ELF: AMDGPU Metadata: | ||||
; OSABI-PAL-ELF-XXX: PAL Metadata: | ; OSABI-PAL-ELF: amdpal.pipelines: | ||||
; TODO: Following check line fails on mips: | ; OSABI-PAL-ELF: - .hardware_stages: | ||||
; OSABI-PAL-ELF-XXX: 0x2e12,0xac02c0,0x2e13,0x80,0x1000001b,0x1,0x10000022,0x60,0x1000003e,0x0 | ; OSABI-PAL-ELF: .cs: | ||||
; OSABI-PAL-ELF: .entry_point: elf_notes | |||||
; OSABI-PAL-ELF: .scratch_memory_size: 0 | |||||
; OSABI-PAL-ELF: .sgpr_count: 96 | |||||
; OSABI-PAL-ELF: .vgpr_count: 1 | |||||
; OSABI-PAL-ELF: .registers: | |||||
; OSABI-PAL-ELF: 11794: 11469504 | |||||
; OSABI-PAL-ELF: 11795: 128 | |||||
; OSABI-PAL: amdpal.pipelines: | |||||
; OSABI-PAL: - .hardware_stages: | |||||
; OSABI-PAL: .cs: | |||||
; OSABI-PAL: .entry_point: elf_notes | |||||
; OSABI-PAL: .scratch_memory_size: 0 | |||||
; OSABI-PAL: .sgpr_count: 0x60 | |||||
; OSABI-PAL: .vgpr_count: 0x1 | |||||
; OSABI-PAL: .registers: | |||||
; OSABI-PAL: 0x2e12 (COMPUTE_PGM_RSRC1): 0xaf02c0 | |||||
; OSABI-PAL: 0x2e13 (COMPUTE_PGM_RSRC2): 0x80 | |||||
; R600-NOT: .hsa_code_object_version | ; R600-NOT: .hsa_code_object_version | ||||
; R600-NOT: .hsa_code_object_isa | ; R600-NOT: .hsa_code_object_isa | ||||
; R600-NOT: .amd_amdgpu_isa | ; R600-NOT: .amd_amdgpu_isa | ||||
; R600-NOT: .amd_amdgpu_hsa_metadata | ; R600-NOT: .amd_amdgpu_hsa_metadata | ||||
; R600-NOT: .amd_amdgpu_pal_metadata | ; R600-NOT: .amd_amdgpu_pal_metadata | ||||
define amdgpu_kernel void @elf_notes() { | define amdgpu_kernel void @elf_notes() { | ||||
ret void | ret void | ||||
} | } |