[llvm] r323021 - test: move ARM test from x86

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 17:03:11 PST 2018


Author: compnerd
Date: Fri Jan 19 17:03:11 2018
New Revision: 323021

URL: http://llvm.org/viewvc/llvm-project?rev=323021&view=rev
Log:
test: move ARM test from x86

The ARM backend is not guaranteed to be present on x86, move the test to
the ARM tests.

Added:
    llvm/trunk/test/CodeGen/ARM/coff-no-dead-strip.ll
Modified:
    llvm/trunk/test/CodeGen/X86/coff-no-dead-strip.ll

Added: llvm/trunk/test/CodeGen/ARM/coff-no-dead-strip.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/coff-no-dead-strip.ll?rev=323021&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/coff-no-dead-strip.ll (added)
+++ llvm/trunk/test/CodeGen/ARM/coff-no-dead-strip.ll Fri Jan 19 17:03:11 2018
@@ -0,0 +1,14 @@
+; RUN: llc -mtriple thumbv7-windows-msvc -filetype asm -o - %s | FileCheck %s
+
+ at i = global i32 0
+ at j = weak global i32 0
+ at k = internal global i32 0
+
+ at 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"
+

Modified: llvm/trunk/test/CodeGen/X86/coff-no-dead-strip.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/coff-no-dead-strip.ll?rev=323021&r1=323020&r2=323021&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/coff-no-dead-strip.ll (original)
+++ llvm/trunk/test/CodeGen/X86/coff-no-dead-strip.ll Fri Jan 19 17:03:11 2018
@@ -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




More information about the llvm-commits mailing list