summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/set.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-04-24 06:55:33 +0000
committerChris Lattner <sabre@nondot.org>2005-04-24 06:55:33 +0000
commit936a775a1b0ca55159b2e772db11b5214686a0ce (patch)
tree4ac596fc993d135a023d82331245edb61c88ab48 /test/Transforms/InstCombine/set.ll
parent446b5a9dd9b249e5910489dbfcf86fda502627ef (diff)
downloadllvm-936a775a1b0ca55159b2e772db11b5214686a0ce.tar.gz
llvm-936a775a1b0ca55159b2e772db11b5214686a0ce.tar.bz2
llvm-936a775a1b0ca55159b2e772db11b5214686a0ce.tar.xz
add a new testcase which occurs in 181.mcf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21489 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/set.ll')
-rw-r--r--test/Transforms/InstCombine/set.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/set.ll b/test/Transforms/InstCombine/set.ll
index 9ade443c0c..970fceb4cf 100644
--- a/test/Transforms/InstCombine/set.ll
+++ b/test/Transforms/InstCombine/set.ll
@@ -100,3 +100,9 @@ endif:
ret bool %tmp.4
}
+bool %test19(bool %A, bool %B) {
+ %a = cast bool %A to int
+ %b = cast bool %B to int
+ %C = seteq int %a, %b
+ ret bool %C
+}