projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Transform (x << (y&31)) -> (x << y). This takes advantage of the fact x86 shift instr...
[oota-llvm.git]
/
test
/
CodeGen
/
ARM
/
thread_pointer.ll
1
; RUN: llvm-as < %s | llc -march=arm -mtriple=arm-linux-gnueabi | \
2
; RUN: grep {__aeabi_read_tp}
3
4
define i8* @test() {
5
entry:
6
%tmp1 = call i8* @llvm.arm.thread.pointer( ) ; <i8*> [#uses=0]
7
ret i8* %tmp1
8
}
9
10
declare i8* @llvm.arm.thread.pointer()