1 ; RUN: llc < %s -mtriple=x86_64-linux-gnux32 | FileCheck %s
2 ; RUN: llc < %s -mtriple=x86_64-linux-gnux32 -fast-isel | FileCheck %s
4 ; Test call function pointer with function argument
6 ; void bar (ptr h, void (*foo) (ptr))
13 define void @bar(ptr %h, ptr nocapture %foo) nounwind {
15 tail call void %foo(ptr %h) nounwind
16 ; CHECK: mov{{l|q}} %{{e|r}}si,
18 tail call void %foo(ptr %h) nounwind