[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 16 10:52:55 PDT 2026


https://github.com/jhuber6 commented:

I'm curious why we need `always_inline` at all, generally that's the compiler's job. Usually it's presented in cases that it's required for correctness but I don't think that's the case here. Anyone remember what the original justification was for adding it in x64? If the user builds without optimizations I don't know why we should inline the syscall helpers.

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


More information about the libc-commits mailing list