new testcase to verify that we have field sensitive alias analysis info. This
[oota-llvm.git] / test / Transforms / ConstProp / 2002-09-03-SetCC-Bools.ll
1 ; SetCC on boolean values was not implemented!
2
3 ; RUN: llvm-as < %s | opt -constprop -die | llvm-dis | not grep 'set'
4
5 bool "test1"() {
6         %A = setle bool true, false
7         %B = setge bool true, false
8         %C = setlt bool false, true
9         %D = setgt bool true, false
10         %E = seteq bool false, false
11         %F = setne bool false, true
12         %G = and bool %A, %B
13         %H = and bool %C, %D
14         %I = and bool %E, %F
15         %J = and bool %G, %H
16         %K = and bool %I, %J
17         ret bool %K
18 }
19