aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Blackfin/logic-i16.ll
blob: e44672ff4200f059db5211c88a01001831d310d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; RUN: llc < %s -march=bfin

define i16 @and(i16 %A, i16 %B) {
	%R = and i16 %A, %B		; <i16> [#uses=1]
	ret i16 %R
}

define i16 @or(i16 %A, i16 %B) {
	%R = or i16 %A, %B		; <i16> [#uses=1]
	ret i16 %R
}

define i16 @xor(i16 %A, i16 %B) {
	%R = xor i16 %A, %B		; <i16> [#uses=1]
	ret i16 %R
}