Reid Spencer | b60528b | 2006-12-19 19:55:17 +0000 | [diff] [blame] | 1 | ; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc |
Tanya Lattner | e9789ef | 2004-11-06 23:32:43 +0000 | [diff] [blame] | 2 | ; RUN: lli %t.bc > /dev/null |
3 | |||||
Chris Lattner | 4a8068f | 2003-01-13 01:03:16 +0000 | [diff] [blame] | 4 | |
5 | int %main() { | ||||
6 | %X = add double 0.0, 1.0 | ||||
7 | %Y = sub double 0.0, 1.0 | ||||
8 | %Z = seteq double %X, %Y | ||||
9 | add double %Y, 0.0 | ||||
10 | ret int 0 | ||||
11 | } |