OSDN Git Service

New testcase that instcombine is getting wrong
authorChris Lattner <sabre@nondot.org>
Wed, 11 Aug 2004 00:49:50 +0000 (00:49 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 11 Aug 2004 00:49:50 +0000 (00:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15637 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll [new file with mode: 0644]

diff --git a/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll b/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll
new file mode 100644 (file)
index 0000000..db4735d
--- /dev/null
@@ -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
+}
+