[llvm] [BuildLibCalls] Apply ABI attributes to call-sites as well (PR #222675)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 13 12:51:30 PDT 2026


nikic wrote:

> This makes me wonder whether this is a good idea. IIRC there once was some discussion to store ABI attributes in the function types and not as attributes. This would avoid problems like this. I don't remember the outcome of this discussion, though.

I do think we'd be better served by moving ABI properties out of attributes entirely (and probably coupling them to the function type, though I'm not entirely sure about that). However, if we did change the representation, we probably wouldn't want to stop there, and fully rethink how the call ABI gets encoded, because the current way is problematic in so many ways.



https://github.com/llvm/llvm-project/pull/222675


More information about the llvm-commits mailing list