summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-11 00:49:50 +0000
committerChris Lattner <sabre@nondot.org>2004-08-11 00:49:50 +0000
commit287433594b635f629409655a0de7a743f7d5d9db (patch)
treeadceea789da6d22bd65eaf7d438a36afe4166556 /test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll
parent0145881cb985b2165bbd1aded733e0183c50e63a (diff)
downloadllvm-287433594b635f629409655a0de7a743f7d5d9db.tar.gz
llvm-287433594b635f629409655a0de7a743f7d5d9db.tar.bz2
llvm-287433594b635f629409655a0de7a743f7d5d9db.tar.xz
New testcase that instcombine is getting wrong
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll')
-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
+}
+