revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git] / test / CodeGen / Generic / 2004-05-09-LiveVarPartialRegister.ll
blobd4a4cf88ce0cb923bb25d6c3fedb5db4d11c8c5b
1 ; RUN: llc < %s
2 @global_long_1 = linkonce global i64 7          ; <i64*> [#uses=1]
3 @global_long_2 = linkonce global i64 49         ; <i64*> [#uses=1]
5 define i32 @main() {
6         %l1 = load i64* @global_long_1          ; <i64> [#uses=1]
7         %l2 = load i64* @global_long_2          ; <i64> [#uses=1]
8         %cond = icmp sle i64 %l1, %l2           ; <i1> [#uses=1]
9         %cast2 = zext i1 %cond to i32           ; <i32> [#uses=1]
10         %RV = sub i32 1, %cast2         ; <i32> [#uses=1]
11         ret i32 %RV