[llvm] WebAssembly: Move runtime libcall setting out of TargetLowering (PR #142624)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 3 13:56:21 PDT 2025


arsenm wrote:

> > RuntimeLibcallInfo needs to be correct outside of codegen contexts.
> 
> Can you explain why?

If you're doing LTO of with libc or compiler-rt included in the build, we need to maintain an accurate list of functions that may be required during later codegen 


> Are all of these wrong too?


Yes


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


More information about the llvm-commits mailing list