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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Mips
/
micromips-sizereduction
/
micromips-addiur1sp-addiusp.ll
blob
8949b19f4ada0c77a193252a693d673ca63d58fb
1
; RUN: llc -march=mipsel -mcpu=mips32r2 -mattr=+micromips -verify-machineinstrs < %s | FileCheck %s
2
3
define i32 @f1() {
4
entry:
5
; CHECK-LABEL: f1:
6
; CHECK: addiusp
7
; CHECK: addiur1sp
8
; CHECK: addiusp
9
%a = alloca [10 x i32], align 4
10
call void @init(ptr %a)
11
%0 = load i32, ptr %a, align 4
12
ret i32 %0
13
}
14
15
declare void @init(ptr)
16