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
This commit is contained in:
Saleem Abdulrasool 2018-01-20 01:03:11 +00:00
parent 77ee17d191
commit 6f831d54f8
2 changed files with 14 additions and 1 deletions

View File

@ -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"

View 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