projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mips] Fix test case to check that mips64 instructions are generated.
[oota-llvm.git]
/
test
/
CodeGen
/
Mips
/
rdhwr-directives.ll
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* @a, align 4
13
ret i32 %0
14
}
15