summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/hardfloat_neon.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/hardfloat_neon.ll')
-rw-r--r--test/CodeGen/ARM/hardfloat_neon.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/hardfloat_neon.ll b/test/CodeGen/ARM/hardfloat_neon.ll
new file mode 100644
index 0000000..4abf04b
--- /dev/null
+++ b/test/CodeGen/ARM/hardfloat_neon.ll
@@ -0,0 +1,13 @@
+; RUN: llc < %s -mtriple=arm-linux-gnueabi -mattr=+neon -float-abi=hard
+
+define <16 x i8> @vmulQi8_reg(<16 x i8> %A, <16 x i8> %B) nounwind {
+ %tmp1 = mul <16 x i8> %A, %B
+ ret <16 x i8> %tmp1
+}
+
+define <16 x i8> @f(<16 x i8> %a, <16 x i8> %b) {
+ %tmp = call <16 x i8> @g(<16 x i8> %b)
+ ret <16 x i8> %tmp
+}
+
+declare <16 x i8> @g(<16 x i8>)
OpenPOWER on IntegriCloud