1 ; RUN: llc -march=msp430 < %s | FileCheck %s
2 target datalayout = "e-p:16:8:8-i8:8:8-i8:8:8-i32:8:8"
3 target triple = "msp430-generic-generic"
4 @foo = common global i8 0, align 1
6 define i8 @add(i8 %a) nounwind {
8 ; CHECK: add.b &foo, r12
14 define i8 @and(i8 %a) nounwind {
16 ; CHECK: and.b &foo, r12
17 %1 = load i8, ptr @foo
22 define i8 @bis(i8 %a) nounwind {
24 ; CHECK: bis.b &foo, r12
25 %1 = load i8, ptr @foo
30 define i8 @bic(i8 %a) nounwind {
32 ; CHECK: bic.b &foo, r12
33 %1 = load i8, ptr @foo
39 define i8 @xor(i8 %a) nounwind {
41 ; CHECK: xor.b &foo, r12
42 %1 = load i8, ptr @foo