• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #2, r1
9  %1 = alloca i8, align 1
10; CHECK-NEXT: clr.b 1(r1)
11  store i8 0, i8* %1, align 1
12; CHECK-NEXT: add #2, r1
13; CHECK-NEXT: ret
14  ret void
15}
16
17attributes #0 = { nounwind "frame-pointer"="none" }
18