[ELF] Fix amdgpu tests

The triples in these tests were completely wrong, but the tests were
still passing for me locally.

llvm-svn: 257027
This commit is contained in:
Tom Stellard 2016-01-07 04:22:24 +00:00
parent cffc628ca1
commit a09245cddb
3 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,8 @@
# RUN: llvm-mc -filetype=obj -triple=amdgcpu--amdgcn -mcpu=kaveri %s -o %t.o
# RUN: llvm-mc -filetype=obj -triple amdgcn--amdhsa -mcpu=kaveri %s -o %t.o
# RUN: not lld -e kernel0 -flavor gnu %t.o -o %t
# Requires: amdgpu
.hsa_code_object_version 1,0
.hsa_code_object_isa 7,0,0,"AMD","AMDGPU"

View File

@ -1,4 +1,4 @@
# RUN: llvm-mc -filetype=obj -triple=amdgcpu--amdgcn -mcpu=kaveri %s -o %t.o
# RUN: llvm-mc -filetype=obj -triple amdgcn--amdhsa -mcpu=kaveri %s -o %t.o
# RUN: lld -flavor gnu %t.o -o %t
# RUN: llvm-readobj -sections -symbols -program-headers %t | FileCheck %s

View File

@ -1,4 +1,4 @@
# RUN: llvm-mc -filetype=obj -triple=amdgcpu--amdgcn -mcpu=kaveri %s -o %t.o
# RUN: llvm-mc -filetype=obj -triple amdgcn--amdhsa -mcpu=kaveri %s -o %t.o
# RUN: lld -flavor gnu %t.o -o %t
# RUN: llvm-readobj -sections -symbols -program-headers %t | FileCheck %s