repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use Align for TFL::TransientStackAlignment
[llvm-core.git]
/
test
/
CodeGen
/
Mips
/
rdhwr-directives.ll
blob
ebc91ea4459e5f321412c6a926afcabb213155f4
1
; RUN: llc -march=mipsel -mcpu=mips32 -relocation-model=static < %s | FileCheck %s
2
3
@a = external thread_local global i32
4
5
define i32 @foo() nounwind readonly {
6
entry:
7
; CHECK: .set push
8
; CHECK: .set mips32r2
9
; CHECK: rdhwr
10
; CHECK: .set pop
11
12
%0 = load i32, i32* @a, align 4
13
ret i32 %0
14
}
15