1; RUN: llc < %s -mtriple=bpfel | FileCheck %s 2; source: 3; int test(int (*f)(void)) { return f(); } 4 5; Function Attrs: nounwind 6define dso_local i32 @test(ptr nocapture %f) local_unnamed_addr #0 { 7entry: 8 %call = tail call i32 %f() #1 9; CHECK: callx r{{[0-9]+}} 10 ret i32 %call 11} 12 13attributes #0 = { nounwind "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "frame-pointer"="all" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" } 14attributes #1 = { nounwind } 15 16!llvm.module.flags = !{!0} 17!llvm.ident = !{!1} 18 19!0 = !{i32 1, !"wchar_size", i32 4} 20!1 = !{!"clang version 10.0.0 (https://github.com/llvm/llvm-project.git 7015a5c54b53d8d2297a3aa38bc32aab167bdcfc)"} 21