Dan Gohman | a7726c3 | 2009-06-16 19:52:01 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | opt -iv-users -analyze | grep store |
2 | |||||
3 | define fastcc void @foo() nounwind { | ||||
4 | entry: | ||||
5 | br label %loop | ||||
6 | |||||
7 | loop: | ||||
8 | %i = phi i32 [ 0, %entry ], [ %t2, %loop ] | ||||
9 | %t0 = add i32 %i, 9 | ||||
10 | %t1 = and i32 %t0, 9 | ||||
11 | store i32 %t1, i32* null | ||||
12 | %t2 = add i32 %i, 8 | ||||
13 | br label %loop | ||||
14 | } |