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
[NFC][Py Reformat] Reformat python files in llvm
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Mips
/
swzero.ll
blob
cc17a1559db96f9a02962007760f85b76e99f6cb
1
; RUN: llc -march=mipsel < %s | FileCheck %s
2
3
%struct.unaligned = type <{ i32 }>
4
5
define void @zero_u(ptr nocapture %p) nounwind {
6
entry:
7
; CHECK: swl $zero
8
; CHECK: swr $zero
9
store i32 0, ptr %p, align 1
10
ret void
11
}
12
13
define void @zero_a(ptr nocapture %p) nounwind {
14
entry:
15
; CHECK: sw $zero
16
store i32 0, ptr %p, align 4
17
ret void
18
}
19