[PATCH] D53526: AMDGPU: Switch some lld tests to v2
Konstantin Zhuravlyov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 29 13:01:57 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL345530: AMDGPU: Switch some lld tests to v2 (authored by kzhuravl, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D53526?vs=170485&id=171561#toc
Repository:
rL LLVM
https://reviews.llvm.org/D53526
Files:
lld/trunk/test/ELF/amdgpu-elf-flags-err.s
lld/trunk/test/ELF/amdgpu-elf-flags.s
lld/trunk/test/ELF/amdgpu-kernels.s
Index: lld/trunk/test/ELF/amdgpu-elf-flags.s
===================================================================
--- lld/trunk/test/ELF/amdgpu-elf-flags.s
+++ lld/trunk/test/ELF/amdgpu-elf-flags.s
@@ -1,6 +1,6 @@
# REQUIRES: amdgpu
-# RUN: llvm-mc -triple amdgcn-amd-amdhsa -mcpu=gfx803 -filetype=obj %S/Inputs/amdgpu-kernel-0.s -o %t-0.o
-# RUN: llvm-mc -triple amdgcn-amd-amdhsa -mcpu=gfx803 -filetype=obj %S/Inputs/amdgpu-kernel-1.s -o %t-1.o
+# RUN: llvm-mc -triple amdgcn-amd-amdhsa -mcpu=gfx803 -mattr=-code-object-v3 -filetype=obj %S/Inputs/amdgpu-kernel-0.s -o %t-0.o
+# RUN: llvm-mc -triple amdgcn-amd-amdhsa -mcpu=gfx803 -mattr=-code-object-v3 -filetype=obj %S/Inputs/amdgpu-kernel-1.s -o %t-1.o
# RUN: ld.lld -shared %t-0.o %t-1.o -o %t.so
# RUN: llvm-readobj -file-headers %t.so | FileCheck %s
Index: lld/trunk/test/ELF/amdgpu-kernels.s
===================================================================
--- lld/trunk/test/ELF/amdgpu-kernels.s
+++ lld/trunk/test/ELF/amdgpu-kernels.s
@@ -1,5 +1,5 @@
# REQUIRES: amdgpu
-# RUN: llvm-mc -filetype=obj -triple amdgcn--amdhsa -mcpu=kaveri %s -o %t.o
+# RUN: llvm-mc -filetype=obj -triple amdgcn--amdhsa -mcpu=kaveri -mattr=-code-object-v3 %s -o %t.o
# RUN: ld.lld -shared %t.o -o %t
# RUN: llvm-readobj -sections -symbols -program-headers %t | FileCheck %s
Index: lld/trunk/test/ELF/amdgpu-elf-flags-err.s
===================================================================
--- lld/trunk/test/ELF/amdgpu-elf-flags-err.s
+++ lld/trunk/test/ELF/amdgpu-elf-flags-err.s
@@ -1,6 +1,6 @@
# REQUIRES: amdgpu
-# RUN: llvm-mc -triple amdgcn-amd-amdhsa -mcpu=gfx802 -filetype=obj %S/Inputs/amdgpu-kernel-0.s -o %t-0.o
-# RUN: llvm-mc -triple amdgcn-amd-amdhsa -mcpu=gfx803 -filetype=obj %S/Inputs/amdgpu-kernel-1.s -o %t-1.o
+# RUN: llvm-mc -triple amdgcn-amd-amdhsa -mcpu=gfx802 -mattr=-code-object-v3 -filetype=obj %S/Inputs/amdgpu-kernel-0.s -o %t-0.o
+# RUN: llvm-mc -triple amdgcn-amd-amdhsa -mcpu=gfx803 -mattr=-code-object-v3 -filetype=obj %S/Inputs/amdgpu-kernel-1.s -o %t-1.o
# RUN: not ld.lld -shared %t-0.o %t-1.o -o /dev/null 2>&1 | FileCheck %s
# CHECK: error: incompatible e_flags: {{.*}}-1.o
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53526.171561.patch
Type: text/x-patch
Size: 2171 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181029/d7978a7f/attachment.bin>
More information about the llvm-commits
mailing list