blob: d01479a86cdc877a95aa73dcc66ea73de83af0a7 [file] [log] [blame]
Eli Bendersky4c647582012-01-16 08:56:09 +00001; RUN: %lli %s > /dev/null
Tanya Lattner2acf9b02004-11-06 23:32:43 +00002
Chris Lattner60042062005-02-27 06:14:21 +00003; This tests to make sure that we can evaluate weird constant expressions
Chris Lattner34c7cee2003-08-24 19:23:31 +00004
Tanya Lattner5f4b3552008-03-10 07:21:50 +00005@A = global i32 5 ; <i32*> [#uses=1]
6@B = global i32 6 ; <i32*> [#uses=1]
Chris Lattner34c7cee2003-08-24 19:23:31 +00007
Tanya Lattner5f4b3552008-03-10 07:21:50 +00008define i32 @main() {
9 %A = or i1 false, icmp slt (i32* @A, i32* @B) ; <i1> [#uses=0]
10 ret i32 0
Chris Lattner34c7cee2003-08-24 19:23:31 +000011}
12