Add a test case for left shift by 1. We should not be using lea for this.
[oota-llvm.git] / test / ExecutionEngine / test-loop.ll
1 ; RUN: llvm-as -f %s -o %t.bc
2 ; RUN: lli %t.bc > /dev/null
3
4
5
6 int %main() {
7         br label %Loop
8 Loop:
9         %I = phi int [0, %0], [%i2, %Loop]
10         %i2 = add int %I, 1
11         %C = seteq int %i2, 10
12         br bool %C, label %Out, label %Loop
13 Out:
14         ret int 0
15 }