aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Hexagon/vect/vect-vsubh.ll
blob: cc7e595644d27b50afcb6e0822a1e7195159b3dd (plain)
1
2
3
4
5
6
7
8
; RUN: llc -march=hexagon < %s | FileCheck %s
; CHECK: vsubh

define <2 x i16> @t_i2x16(<2 x i16> %a, <2 x i16> %b) nounwind {
entry:
	%0 = sub <2 x i16> %a, %b
	ret <2 x i16> %0
}