[libc-commits] [libc] Force to inline syscall_impl on all platforms (PR #186849)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Mon Mar 23 12:57:51 PDT 2026
jhuber6 wrote:
> I'm fine with splitting syscalls into force-inlined and regular inlined later if it turns out to be important.
It's more of a code-smell thing. `always_inline` is usually reserved for cases where it's required for it to function. That's why `always_inline` is one of the few passes that runs at O0. Any time we'd have `always_inline` I'd expect a comment for why it's necessary so I think this just confuses things a bit.
https://github.com/llvm/llvm-project/pull/186849
More information about the libc-commits
mailing list