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