new testcase
authorChris Lattner <sabre@nondot.org>
Wed, 20 Dec 2006 06:20:23 +0000 (06:20 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 20 Dec 2006 06:20:23 +0000 (06:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32714 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/SCCP/2006-12-19-UndefBug.ll [new file with mode: 0644]

diff --git a/test/Transforms/SCCP/2006-12-19-UndefBug.ll b/test/Transforms/SCCP/2006-12-19-UndefBug.ll
new file mode 100644 (file)
index 0000000..7ab1436
--- /dev/null
@@ -0,0 +1,6 @@
+; RUN: llvm-as < %s | opt -sccp | llvm-dis | grep 'ret bool false'
+
+bool %foo() {
+       %X = and bool false, undef
+       ret bool %X
+}