diff options
Diffstat (limited to 'test/CodeGen/AMDGPU/elf.ll')
| -rw-r--r-- | test/CodeGen/AMDGPU/elf.ll | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/test/CodeGen/AMDGPU/elf.ll b/test/CodeGen/AMDGPU/elf.ll deleted file mode 100644 index b22f8608d7e3..000000000000 --- a/test/CodeGen/AMDGPU/elf.ll +++ /dev/null @@ -1,36 +0,0 @@ -; RUN: llc < %s -march=amdgcn -verify-machineinstrs -filetype=obj | llvm-readobj -s -symbols -file-headers - | FileCheck --check-prefix=ELF %s -; RUN: llc < %s -march=amdgcn -verify-machineinstrs -o - | FileCheck --check-prefix=CONFIG --check-prefix=TYPICAL %s -; RUN: llc < %s -march=amdgcn -mcpu=tonga -mattr=-flat-for-global -verify-machineinstrs -filetype=obj | llvm-readobj -s -symbols -file-headers - | FileCheck --check-prefix=ELF %s -; RUN: llc < %s -march=amdgcn -mcpu=tonga -mattr=-flat-for-global -verify-machineinstrs -o - | FileCheck --check-prefix=CONFIG --check-prefix=TONGA %s -; RUN: llc < %s -march=amdgcn -mcpu=carrizo -mattr=-flat-for-global -verify-machineinstrs -filetype=obj | llvm-readobj -s -symbols -file-headers - | FileCheck --check-prefix=ELF %s -; RUN: llc < %s -march=amdgcn -mcpu=carrizo -mattr=-flat-for-global -verify-machineinstrs -o - | FileCheck --check-prefix=CONFIG --check-prefix=TYPICAL %s - -; Test that we don't try to produce a COFF file on windows -; RUN: llc < %s -mtriple=amdgcn-pc-mingw -verify-machineinstrs -filetype=obj | llvm-readobj -s -symbols -file-headers - | FileCheck --check-prefix=ELF %s - -; ELF: Format: ELF64 -; ELF: OS/ABI: AMDGPU_HSA (0x40) -; ELF: Machine: EM_AMDGPU (0xE0) -; ELF: Name: .AMDGPU.config -; ELF: Type: SHT_PROGBITS - -; ELF: Symbol { -; ELF: Name: test -; ELF: Binding: Global - -; CONFIG: .section .AMDGPU.config -; CONFIG-NEXT: .long 45096 -; TYPICAL-NEXT: .long 0 -; TONGA-NEXT: .long 704 -; CONFIG: .p2align 8 -; CONFIG: test: -define amdgpu_ps void @test(i32 %p) #0 { - %i = add i32 %p, 2 - %r = bitcast i32 %i to float - call void @llvm.amdgcn.exp.f32(i32 0, i32 15, float %r, float %r, float %r, float %r, i1 true, i1 false) - ret void -} - -declare void @llvm.amdgcn.exp.f32(i32, i32, float, float, float, float, i1, i1) #0 - -attributes #0 = { nounwind } |
