1; RUN: llc -march=mipsel < %s | FileCheck %s
2
3%struct.unaligned = type <{ i32 }>
4
5define void @zero_u(%struct.unaligned* nocapture %p) nounwind {
6entry:
7; CHECK: swl $zero
8; CHECK: swr $zero
9  %x = getelementptr inbounds %struct.unaligned* %p, i32 0, i32 0
10  store i32 0, i32* %x, align 1
11  ret void
12}
13
14define void @zero_a(i32* nocapture %p) nounwind {
15entry:
16; CHECK: sw $zero
17  store i32 0, i32* %p, align 4
18  ret void
19}
20
21