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 void @mov() nounwind {
8 ; CHECK: mov.b #2, &foo
13 define void @add() nounwind {
16 %1 = load i8, ptr @foo
22 define void @and() nounwind {
24 ; CHECK: and.b #2, &foo
25 %1 = load i8, ptr @foo
31 define void @bis() nounwind {
33 ; CHECK: bis.b #2, &foo
34 %1 = load i8, ptr @foo
40 define void @xor() nounwind {
42 ; CHECK: xor.b #2, &foo
43 %1 = load i8, ptr @foo