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