aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/tail-call-weak.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/tail-call-weak.ll')
-rw-r--r--test/CodeGen/ARM/tail-call-weak.ll18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/CodeGen/ARM/tail-call-weak.ll b/test/CodeGen/ARM/tail-call-weak.ll
deleted file mode 100644
index e0117dffecbf..000000000000
--- a/test/CodeGen/ARM/tail-call-weak.ll
+++ /dev/null
@@ -1,18 +0,0 @@
-; RUN: llc -mtriple thumbv7-windows-coff -filetype asm -o - %s | FileCheck %s -check-prefix CHECK-COFF
-; RUN: llc -mtriple thumbv7-elf -filetype asm -o - %s | FileCheck %s -check-prefix CHECK-OTHER
-; RUN: llc -mtriple thumbv7-macho -filetype asm -o - %s | FileCheck %s -check-prefix CHECK-OTHER
-
-declare i8* @f()
-declare extern_weak i8* @g(i8*)
-
-; weak symbol resolution occurs statically in PE/COFF, ensure that we permit
-; tail calls on weak externals when targeting a COFF environment.
-define void @test() {
- %call = tail call i8* @f()
- %call1 = tail call i8* @g(i8* %call)
- ret void
-}
-
-; CHECK-COFF: b g
-; CHECK-OTHER: bl {{_?}}g
-