diff options
author | Florian Hahn <florian.hahn@arm.com> | 2017-06-07 09:59:22 +0000 |
---|---|---|
committer | Florian Hahn <florian.hahn@arm.com> | 2017-06-07 09:59:22 +0000 |
commit | bfa1950d24ed3f49259761a3ac186c19b45c2b66 (patch) | |
tree | 19413b18beb888f36da8132bd0f24fffafcb28c2 /llvm/test | |
parent | 8e791463ef65362f9c0a47398756122d9427c126 (diff) | |
download | bcm5719-llvm-bfa1950d24ed3f49259761a3ac186c19b45c2b66.tar.gz bcm5719-llvm-bfa1950d24ed3f49259761a3ac186c19b45c2b66.zip |
[Linker] Remove llc usage from link-arm-and-thumb.ll test case.
This fixes a buildbot failure when the ARM target is not built.
llvm-svn: 304888
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/Linker/link-arm-and-thumb.ll | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/llvm/test/Linker/link-arm-and-thumb.ll b/llvm/test/Linker/link-arm-and-thumb.ll index 81ecdb59f49..a90f2128e44 100644 --- a/llvm/test/Linker/link-arm-and-thumb.ll +++ b/llvm/test/Linker/link-arm-and-thumb.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as %s -o %t1.bc ; RUN: llvm-as %p/Inputs/thumb.ll -o %t2.bc -; RUN: llvm-link %t1.bc %t2.bc -S 2> %t3.out | llc | FileCheck %s +; RUN: llvm-link %t1.bc %t2.bc -S 2> %t3.out | FileCheck %s ; RUN: FileCheck --allow-empty --input-file %t3.out --check-prefix STDERR %s target triple = "armv7-linux-gnueabihf" @@ -13,14 +13,11 @@ entry: ret i32 %add } -; CHECK: .code 32 @ @main -; CHECK-NEXT: main +; CHECK: define i32 @main() { +; CHECK: define i32 @foo(i32 %a, i32 %b) [[ARM_ATTRS:#[0-9]+]] +; CHECK: define i32 @bar(i32 %a, i32 %b) [[THUMB_ATTRS:#[0-9]+]] -; CHECK: .code 32 @ @foo -; CHECK-NEXT: foo - -; CHECK: .code 16 @ @bar -; CHECK-NEXT: .thumb_func -; CHECK-NEXT: bar +; CHECK: attributes [[ARM_ATTRS]] = { "target-features"="-thumb-mode" } +; CHECK: attributes [[THUMB_ATTRS]] = { "target-features"="+thumb-mode" } ; STDERR-NOT: warning: Linking two modules of different target triples: |