1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mtriple=i686-unknown-unknown | FileCheck %s
3
4declare i32 @foo()
5
6define i32 @test() {
7; CHECK-LABEL: test:
8; CHECK:       # %bb.0:
9; CHECK-NEXT:    calll foo@PLT
10; CHECK-NEXT:    leal (%eax,%eax,8), %eax
11; CHECK-NEXT:    retl
12  %tmp.0 = tail call i32 @foo( )
13  %tmp.1 = mul i32 %tmp.0, 9
14  ret i32 %tmp.1
15}
16
17