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