diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:17:04 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:17:04 +0000 |
| commit | b915e9e0fc85ba6f398b3fab0db6a81a8913af94 (patch) | |
| tree | 98b8f811c7aff2547cab8642daf372d6c59502fb /test/CodeGen/ARM/thread_pointer.ll | |
| parent | 6421cca32f69ac849537a3cff78c352195e99f1b (diff) | |
Notes
Diffstat (limited to 'test/CodeGen/ARM/thread_pointer.ll')
| -rw-r--r-- | test/CodeGen/ARM/thread_pointer.ll | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/CodeGen/ARM/thread_pointer.ll b/test/CodeGen/ARM/thread_pointer.ll index fe1d3a4dfd0f..c6318a58277c 100644 --- a/test/CodeGen/ARM/thread_pointer.ll +++ b/test/CodeGen/ARM/thread_pointer.ll @@ -1,10 +1,12 @@ -; RUN: llc < %s -march=arm -mtriple=arm-linux-gnueabi | \ -; RUN: grep "__aeabi_read_tp" +; RUN: llc -mtriple arm-linux-gnueabi -filetype asm -o - %s | FileCheck %s + +declare i8* @llvm.thread.pointer() define i8* @test() { entry: - %tmp1 = call i8* @llvm.thread.pointer( ) ; <i8*> [#uses=0] - ret i8* %tmp1 + %tmp1 = call i8* @llvm.thread.pointer() + ret i8* %tmp1 } -declare i8* @llvm.thread.pointer() +; CHECK: bl __aeabi_read_tp + |
