In some rare cases, the register allocator can spill registers but end up not utilizi...
[llvm/msp430.git] / test / CodeGen / X86 / imul-lea.ll
blob6403a2668a39e80f623cee4ec80db5513b0ab647
1 ; RUN: llvm-as < %s | llc -march=x86 | grep lea
3 declare i32 @foo()
5 define i32 @test() {
6         %tmp.0 = tail call i32 @foo( )          ; <i32> [#uses=1]
7         %tmp.1 = mul i32 %tmp.0, 9              ; <i32> [#uses=1]
8         ret i32 %tmp.1