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