blob: d01479a86cdc877a95aa73dcc66ea73de83af0a7 [file] [log] [blame]
Eric Christopher79cc1e32014-09-02 22:28:02 +00001; RUN: %lli %s > /dev/null
Danil Malyshev7c5db452012-05-17 21:07:47 +00002
3; This tests to make sure that we can evaluate weird constant expressions
4
5@A = global i32 5 ; <i32*> [#uses=1]
6@B = global i32 6 ; <i32*> [#uses=1]
7
8define i32 @main() {
9 %A = or i1 false, icmp slt (i32* @A, i32* @B) ; <i1> [#uses=0]
10 ret i32 0
11}
12