summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/neon_arith1.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/neon_arith1.ll')
-rw-r--r--test/CodeGen/ARM/neon_arith1.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/neon_arith1.ll b/test/CodeGen/ARM/neon_arith1.ll
new file mode 100644
index 0000000..18b516f
--- /dev/null
+++ b/test/CodeGen/ARM/neon_arith1.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | llc -march=arm -mattr=+neon | grep vadd
+
+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
+}
OpenPOWER on IntegriCloud