blob: d6d90e3e1982c1438763f4b44ce5e5467eb5f997 [file] [log] [blame]
Daniel Dunbar46a27162010-11-13 00:28:01 +00001; RUN: lli %s > /dev/null
Tanya Lattnere9789ef2004-11-06 23:32:43 +00002
Chris Lattner47b72fb2005-02-27 06:14:21 +00003; This tests to make sure that we can evaluate weird constant expressions
Chris Lattnerf687ada2003-08-24 19:23:31 +00004
Tanya Lattnerceca1942008-03-10 07:21:50 +00005@A = global i32 5 ; <i32*> [#uses=1]
6@B = global i32 6 ; <i32*> [#uses=1]
Chris Lattnerf687ada2003-08-24 19:23:31 +00007
Tanya Lattnerceca1942008-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 Lattnerf687ada2003-08-24 19:23:31 +000011}
12