aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/2010-04-14-SplitVector.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/ARM/2010-04-14-SplitVector.ll')
-rw-r--r--test/CodeGen/ARM/2010-04-14-SplitVector.ll16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/2010-04-14-SplitVector.ll b/test/CodeGen/ARM/2010-04-14-SplitVector.ll
new file mode 100644
index 0000000..42f9852
--- /dev/null
+++ b/test/CodeGen/ARM/2010-04-14-SplitVector.ll
@@ -0,0 +1,16 @@
+; RUN: llc < %s -march=arm -mcpu=arm1136jf-s
+; Radar 7854640
+
+define arm_apcscc void @test() nounwind {
+bb:
+ br i1 undef, label %bb9, label %bb10
+
+bb9:
+ %tmp63 = bitcast <4 x float> zeroinitializer to i128
+ %tmp64 = trunc i128 %tmp63 to i32
+ br label %bb10
+
+bb10:
+ %0 = phi i32 [ %tmp64, %bb9 ], [ undef, %bb ]
+ ret void
+}