The pattern isel is aggressively codegen'ing all of the loads in these
[oota-llvm.git] / test / CodeGen / X86 / 2002-12-23-LocalRAProblem.llx
1 ; RUN: llvm-as < %s | lli -force-interpreter=false -regalloc=simple
2 ;-print-machineinstrs 
3
4 int %main() {
5         %A = add int 0, 0   ; %A = 0
6         %B = add int 0, 1   ; %B = 1
7         br label %bb1
8 bb1:
9         %X = mul int %A, %B ; %X = 0*1 = 0
10         %R = sub int %B, 1  ; %r = 0
11         ret int %R
12 }