1 ; RUN: llc -march=msp430 < %s | FileCheck %s
2 target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8"
3 target triple = "msp430-generic-generic"
4 @foo = common global i8 0, align 1
6 define void @mov(i8 %a) nounwind {
8 ; CHECK: mov.b r12, &foo
13 define void @and(i8 %a) nounwind {
15 ; CHECK: and.b r12, &foo
16 %1 = load i8, ptr @foo
22 define void @add(i8 %a) nounwind {
24 ; CHECK: add.b r12, &foo
25 %1 = load i8, ptr @foo
31 define void @bis(i8 %a) nounwind {
33 ; CHECK: bis.b r12, &foo
34 %1 = load i8, ptr @foo
40 define void @bic(i8 zeroext %m) nounwind {
42 ; CHECK: bic.b r12, &foo
44 %2 = load i8, ptr @foo
50 define void @xor(i8 %a) nounwind {
52 ; CHECK: xor.b r12, &foo
53 %1 = load i8, ptr @foo