Evan Cheng | 9394514 | 2006-02-25 10:16:10 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llc -march=x86 | grep lea |
2 | |||||
3 | declare int %foo() | ||||
4 | int %test() { | ||||
5 | %tmp.0 = tail call int %foo( ) ; <int> [#uses=1] | ||||
6 | %tmp.1 = mul int %tmp.0, 9 ; <int> [#uses=1] | ||||
7 | ret int %tmp.1 | ||||
8 | } |