forked from OSchip/llvm-project
[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:
parent
cffc628ca1
commit
a09245cddb
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue