aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll b/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll
new file mode 100644
index 0000000000..db4735d0b6
--- /dev/null
+++ b/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s| opt -instcombine | llvm-dis | grep 'ret bool false'
+bool %test(bool %V) {
+ %Y = setlt bool %V, false
+ ret bool %Y
+}
+