Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/CodeGen/AVR/issue-58856-eicall.ll | ||
---|---|---|
22 | This form is incompatible with avr-gcc, avr-gcc emits lo8(gs(sym)) and hi8(gs(sym)). However this is another issue, at least clang+llvm generates correct relocable and executable ELFs. |
Comment Actions
Looks good to me.
The inline assembly is perhaps a bit confusing. What I would do is split this function into two functions: one returns @func as a function pointer, and the other with a single function pointer parameter that is called. Feel free to do that or leave as is.
This form is incompatible with avr-gcc, avr-gcc emits lo8(gs(sym)) and hi8(gs(sym)). However this is another issue, at least clang+llvm generates correct relocable and executable ELFs.