aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2006-01-30-LongSetcc.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2006-01-30-LongSetcc.ll')
-rw-r--r--test/CodeGen/X86/2006-01-30-LongSetcc.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2006-01-30-LongSetcc.ll b/test/CodeGen/X86/2006-01-30-LongSetcc.ll
new file mode 100644
index 0000000..52d25c2
--- /dev/null
+++ b/test/CodeGen/X86/2006-01-30-LongSetcc.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | llc -march=x86
+
+bool %test(long %X) {
+ %B = setlt long %X, 0 ; <bool> [#uses=1]
+ ret bool %B
+}