aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2012-02-14-scalar.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2012-02-14-scalar.ll')
-rw-r--r--test/CodeGen/X86/2012-02-14-scalar.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2012-02-14-scalar.ll b/test/CodeGen/X86/2012-02-14-scalar.ll
new file mode 100644
index 000000000000..1dc076b3e0d3
--- /dev/null
+++ b/test/CodeGen/X86/2012-02-14-scalar.ll
@@ -0,0 +1,13 @@
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -mattr=+avx
+target triple = "x86_64-unknown-linux-gnu"
+; Make sure we are not crashing on this one
+define void @autogen_28112_5000() {
+BB:
+ %S17 = icmp sgt <1 x i64> undef, undef
+ %E19 = extractelement <1 x i1> %S17, i32 0
+ br label %CF
+
+CF: ; preds = %CF, %BB
+ %S23 = select i1 %E19, i8 undef, i8 undef
+ br label %CF
+}