diff options
Diffstat (limited to 'test/CodeGen/Hexagon/vect/vect-vaddw.ll')
-rw-r--r-- | test/CodeGen/Hexagon/vect/vect-vaddw.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/Hexagon/vect/vect-vaddw.ll b/test/CodeGen/Hexagon/vect/vect-vaddw.ll new file mode 100644 index 0000000..a840134 --- /dev/null +++ b/test/CodeGen/Hexagon/vect/vect-vaddw.ll @@ -0,0 +1,8 @@ +; RUN: llc -march=hexagon < %s | FileCheck %s +; CHECK: vaddw + +define <2 x i32> @t_i2x32(<2 x i32> %a, <2 x i32> %b) nounwind { +entry: + %0 = add <2 x i32> %a, %b + ret <2 x i32> %0 +} |