blob: 9ac493537736137fcd5ebd083cbb71e89807622d [file] [log] [blame]
Chris Lattner8617b352002-09-03 20:09:23 +00001; SetCC on boolean values was not implemented!
2
3; RUN: if as < %s | opt -constprop -die | dis | grep 'set'
4; RUN: then exit 1
5; RUN: else exit 0
6; RUN: fi
7
8bool "test1"() {
9 %A = setle bool true, false
10 %B = setge bool true, false
11 %C = setlt bool false, true
12 %D = setgt bool true, false
13 %E = seteq bool false, false
14 %F = setne bool false, true
15 %G = and bool %A, %B
16 %H = and bool %C, %D
17 %I = and bool %E, %F
18 %J = and bool %G, %H
19 %K = and bool %I, %J
20 ret bool %K
21}
22