[Hexagon] Add support for vector instructions
[oota-llvm.git] / test / CodeGen / Hexagon / vect / vect-vaddw.ll
1 ; RUN: llc -march=hexagon < %s | FileCheck %s
2 ; CHECK: vaddw
3
4 define <2 x i32> @t_i2x32(<2 x i32> %a, <2 x i32> %b) nounwind {
5 entry:
6         %0 = add <2 x i32> %a, %b
7         ret <2 x i32> %0
8 }