diff options
Diffstat (limited to 'llvm/test/CodeGen/ARM/thumb-stub.ll')
| -rw-r--r-- | llvm/test/CodeGen/ARM/thumb-stub.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/thumb-stub.ll b/llvm/test/CodeGen/ARM/thumb-stub.ll new file mode 100644 index 00000000000..68001b6c0ee --- /dev/null +++ b/llvm/test/CodeGen/ARM/thumb-stub.ll @@ -0,0 +1,10 @@ +; RUN: llc -relocation-model=pic -mtriple=thumb-apple-darwin < %s | FileCheck %s + +declare hidden void @f() + +; CHECK: bl _f + +define void @g() { + call void @f() + ret void +} |

