Tanya Lattner | e9789ef | 2004-11-06 23:32:43 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as -f %s -o %t.bc |
2 | ; RUN: lli %t.bc > /dev/null | ||||
3 | |||||
Chris Lattner | 47b72fb | 2005-02-27 06:14:21 +0000 | [diff] [blame] | 4 | ; This tests to make sure that we can evaluate weird constant expressions |
Chris Lattner | f687ada | 2003-08-24 19:23:31 +0000 | [diff] [blame] | 5 | %A = global int 5 |
6 | %B = global int 6 | ||||
7 | |||||
8 | implementation | ||||
9 | |||||
10 | int %main() { | ||||
11 | %A = or bool false, setlt (int* %A, int* %B) ; Which is lower in memory? | ||||
12 | ret int 0 | ||||
13 | } | ||||
14 |