test: move ARM test from x86
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 20 Jan 2018 01:03:11 +0000 (01:03 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 20 Jan 2018 01:03:11 +0000 (01:03 +0000)
The ARM backend is not guaranteed to be present on x86, move the test to
the ARM tests.

llvm-svn: 323021

llvm/test/CodeGen/ARM/coff-no-dead-strip.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/coff-no-dead-strip.ll

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 (file)
index 0000000..a7a4d0b
--- /dev/null
@@ -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"
+
index adac90d..4f57a0f 100644 (file)
@@ -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