blob: cf44346965798546f7fcca169693199718c4f58c [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; SetCC on boolean values was not implemented!
2
3; RUN: llvm-upgrade < %s | llvm-as | opt -constprop -die | llvm-dis | \
4; RUN: not grep set
5
6bool "test1"() {
7 %A = setle bool true, false
8 %B = setge bool true, false
9 %C = setlt bool false, true
10 %D = setgt bool true, false
11 %E = seteq bool false, false
12 %F = setne bool false, true
13 %G = and bool %A, %B
14 %H = and bool %C, %D
15 %I = and bool %E, %F
16 %J = and bool %G, %H
17 %K = and bool %I, %J
18 ret bool %K
19}
20