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 {
8 ; CHECK: add.w &foo, r15
14 define i16 @and(i16 %a) nounwind {
16 ; CHECK: and.w &foo, r15
22 define i16 @bis(i16 %a) nounwind {
24 ; CHECK: bis.w &foo, r15
30 define i16 @bic(i16 %a) nounwind {
32 ; CHECK: bic.w &foo, r15
39 define i16 @xor(i16 %a) nounwind {
41 ; CHECK: xor.w &foo, r15