1*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=msp430 < %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Workertarget datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8" 3*9880d681SAndroid Build Coastguard Workertarget triple = "msp430-generic-generic" 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Workerdefine i8 @mov() nounwind { 6*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: mov: 7*9880d681SAndroid Build Coastguard Worker; CHECK: mov.b #1, r15 8*9880d681SAndroid Build Coastguard Worker ret i8 1 9*9880d681SAndroid Build Coastguard Worker} 10*9880d681SAndroid Build Coastguard Worker 11*9880d681SAndroid Build Coastguard Workerdefine i8 @add(i8 %a, i8 %b) nounwind { 12*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: add: 13*9880d681SAndroid Build Coastguard Worker; CHECK: add.b #1, r15 14*9880d681SAndroid Build Coastguard Worker %1 = add i8 %a, 1 15*9880d681SAndroid Build Coastguard Worker ret i8 %1 16*9880d681SAndroid Build Coastguard Worker} 17*9880d681SAndroid Build Coastguard Worker 18*9880d681SAndroid Build Coastguard Workerdefine i8 @and(i8 %a, i8 %b) nounwind { 19*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: and: 20*9880d681SAndroid Build Coastguard Worker; CHECK: and.b #1, r15 21*9880d681SAndroid Build Coastguard Worker %1 = and i8 %a, 1 22*9880d681SAndroid Build Coastguard Worker ret i8 %1 23*9880d681SAndroid Build Coastguard Worker} 24*9880d681SAndroid Build Coastguard Worker 25*9880d681SAndroid Build Coastguard Workerdefine i8 @bis(i8 %a, i8 %b) nounwind { 26*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: bis: 27*9880d681SAndroid Build Coastguard Worker; CHECK: bis.b #1, r15 28*9880d681SAndroid Build Coastguard Worker %1 = or i8 %a, 1 29*9880d681SAndroid Build Coastguard Worker ret i8 %1 30*9880d681SAndroid Build Coastguard Worker} 31*9880d681SAndroid Build Coastguard Worker 32*9880d681SAndroid Build Coastguard Workerdefine i8 @xor(i8 %a, i8 %b) nounwind { 33*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: xor: 34*9880d681SAndroid Build Coastguard Worker; CHECK: xor.b #1, r15 35*9880d681SAndroid Build Coastguard Worker %1 = xor i8 %a, 1 36*9880d681SAndroid Build Coastguard Worker ret i8 %1 37*9880d681SAndroid Build Coastguard Worker} 38