repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Mips
/
micromips-rdhwr-directives.ll
blob
fe786b82df23fdbd9573c5d76bbda84e095bec68
1
; RUN: llc -mtriple=mipsel -mcpu=mips32 -relocation-model=static < %s \
2
; RUN: -mattr=+micromips | FileCheck %s
3
4
@a = external thread_local global i32
5
6
define i32 @foo() nounwind readonly {
7
entry:
8
; CHECK: .set push
9
; CHECK: .set mips32r2
10
; CHECK: rdhwr
11
; CHECK: .set pop
12
13
%0 = load i32, ptr @a, align 4
14
ret i32 %0
15
}