[llvm] [BOLT][AArch64] Add indirect call promotion support (PR #184733)
Alexey Moksyakov via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 30 02:52:25 PDT 2026
yavtuk wrote:
@Jianghibo overall LGTM, thanks for PR.
The only thing I would like to suggest is split the test into two files: icp.c and icp-inline.c.
the first one is the following, simple functionality
```
#include <stdio.h>
void hello() {
printf("hello....\n");
}
void execute(void (*callback)()) {
callback();
}
int exit_success() {
return 0;
}
int executeTailCall(int (*callback)()) {
return callback();
}
int main() {
execute(hello);
return executeTailCall(exit_success);
}
```
The second one is your current test with inline option.
But let's wait and see what the rest have to say about it @paschalis-mpeis
https://github.com/llvm/llvm-project/pull/184733
More information about the llvm-commits
mailing list