aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/ARM/neon-ops.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/neon-ops.ll b/test/CodeGen/ARM/neon-ops.ll
new file mode 100644
index 0000000000..d7e893f64f
--- /dev/null
+++ b/test/CodeGen/ARM/neon-ops.ll
@@ -0,0 +1,7 @@
+; RUN: llc -march=arm -mattr=+neon -O2 -o /dev/null
+
+; This used to crash.
+define <4 x i32> @test1(<4 x i16> %a) {
+ %A = zext <4 x i16> %a to <4 x i32>
+ ret <4 x i32> %A
+}