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 i16 0, align 2
6 define i16 @add(i16 %a) nounwind {
9 %1 = load i16, ptr @foo
14 define i16 @and(i16 %a) nounwind {
16 ; CHECK: and &foo, r12
17 %1 = load i16, ptr @foo
22 define i16 @bis(i16 %a) nounwind {
24 ; CHECK: bis &foo, r12
25 %1 = load i16, ptr @foo
30 define i16 @bic(i16 %a) nounwind {
32 ; CHECK: bic &foo, r12
33 %1 = load i16, ptr @foo
39 define i16 @xor(i16 %a) nounwind {
41 ; CHECK: xor &foo, r12
42 %1 = load i16, ptr @foo