summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2018-01-20 01:03:11 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2018-01-20 01:03:11 +0000
commit6f831d54f8766e2fff932fde75f5df2ed4b9eece (patch)
tree3b8adc6e4f583a463983475cdbddcbb37eb76ebd /llvm/test/CodeGen
parent77ee17d1919cd088e46b060d1d0950544446f1b5 (diff)
downloadbcm5719-llvm-6f831d54f8766e2fff932fde75f5df2ed4b9eece.tar.gz
bcm5719-llvm-6f831d54f8766e2fff932fde75f5df2ed4b9eece.zip
test: move ARM test from x86
The ARM backend is not guaranteed to be present on x86, move the test to the ARM tests. llvm-svn: 323021
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/ARM/coff-no-dead-strip.ll14
-rw-r--r--llvm/test/CodeGen/X86/coff-no-dead-strip.ll1
2 files changed, 14 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/coff-no-dead-strip.ll b/llvm/test/CodeGen/ARM/coff-no-dead-strip.ll
new file mode 100644
index 00000000000..a7a4d0b495b
--- /dev/null
+++ b/llvm/test/CodeGen/ARM/coff-no-dead-strip.ll
@@ -0,0 +1,14 @@
+; RUN: llc -mtriple thumbv7-windows-msvc -filetype asm -o - %s | FileCheck %s
+
+@i = global i32 0
+@j = weak global i32 0
+@k = internal global i32 0
+
+@llvm.used = appending global [3 x i8*] [i8* bitcast (i32* @i to i8*), i8* bitcast (i32* @j to i8*), i8* bitcast (i32* @k to i8*)]
+
+; CHECK: .section .drectve
+; CHECK: .ascii " /INCLUDE:i"
+; CHECK: .ascii " /INCLUDE:j"
+; CHECK-NOT: .ascii " /INCLUDE:k"
+; CHECK: .ascii " /INCLUDE:l@@0"
+
diff --git a/llvm/test/CodeGen/X86/coff-no-dead-strip.ll b/llvm/test/CodeGen/X86/coff-no-dead-strip.ll
index adac90da885..4f57a0f9b16 100644
--- a/llvm/test/CodeGen/X86/coff-no-dead-strip.ll
+++ b/llvm/test/CodeGen/X86/coff-no-dead-strip.ll
@@ -1,6 +1,5 @@
; RUN: llc -mtriple i686-windows-msvc -filetype asm -o - %s | FileCheck %s -check-prefix CHECK -check-prefix CHECK-ULP
; RUN: llc -mtriple x86_64-windows-msvc -filetype asm -o - %s | FileCheck %s -check-prefix CHECK -check-prefix CHECK-NOULP
-; RUN: llc -mtriple thumbv7-windows-msvc -filetype asm -o - %s | FileCheck %s -check-prefix CHECK -check-prefix CHECK-NOULP
@i = global i32 0
@j = weak global i32 0
OpenPOWER on IntegriCloud