brintos

brintos / llvm-project-archived public Read only

0
0
Text · 477 B · e027c1f Raw
18 lines · plain
1; RUN: llc < %s -mtriple=bpfel | FileCheck %s2; source:3;   int test(int (*f)(void)) { return f(); }4 5; Function Attrs: nounwind6define dso_local i32 @test(ptr nocapture %f) local_unnamed_addr {7entry:8  %call = tail call i32 %f()9; CHECK: callx r{{[0-9]+}}10  ret i32 %call11}12 13!llvm.module.flags = !{!0}14!llvm.ident = !{!1}15 16!0 = !{i32 1, !"wchar_size", i32 4}17!1 = !{!"clang version 10.0.0 (https://github.com/llvm/llvm-project.git 7015a5c54b53d8d2297a3aa38bc32aab167bdcfc)"}18