summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2006-10-02-BoolRetCrash.ll')
-rw-r--r--test/CodeGen/X86/2006-10-02-BoolRetCrash.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll b/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll
new file mode 100644
index 0000000..795d464
--- /dev/null
+++ b/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll
@@ -0,0 +1,7 @@
+; RUN: llc < %s
+; PR933
+
+define fastcc i1 @test() {
+ ret i1 true
+}
+