1; RUN: llc < %s | FileCheck %s
2
3target datalayout = "e-p:16:16:16-i8:8:8-i16:16:16-i32:16:32-n8:16-a0:16:16"
4target triple = "msp430---elf"
5
6define void @test() #0 {
7; CHECK-LABEL: test:
8; CHECK: sub.w #2, r1
9  %1 = alloca i8, align 1
10; CHECK-NEXT: mov.b #0, 1(r1)
11  store i8 0, i8* %1, align 1
12; CHECK-NEXT: add.w #2, r1
13; CHECK-NEXT: ret
14  ret void
15}
16
17attributes #0 = { nounwind "no-frame-pointer-elim"="false" }
18