llvm/test/CodeGen/ARM/thread_pointer.ll
Saleem Abdulrasool f40c74a0fe test: modernise ARM CodeGen tests
Replace the use of grep with FileCheck.  Tidy up some of the tests.  A
few of the tests have been left as weak as previously, though some have
been made more stringent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290616 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-27 18:35:19 +00:00

13 lines
230 B
LLVM

; 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()
ret i8* %tmp1
}
; CHECK: bl __aeabi_read_tp