As an optimization, our compiler-rt can check if generating a given symbol would be redundant, because it would never be called due to a machine code instruction being available, and avoid calling @export for that symbol. This will make 2 small improvements:
- Faster compiler-rt build from cold cache (fewer functions to optimize)
- Faster link against compiler-rt (since the static archive will be smaller)
Similar issue: #11883
As an optimization, our compiler-rt can check if generating a given symbol would be redundant, because it would never be called due to a machine code instruction being available, and avoid calling
@exportfor that symbol. This will make 2 small improvements:Similar issue: #11883