On RISC-V we need to store vector registers in the builtin Generate_WasmCompileLazy (and others). However, not all CPUs have vector support. It's dynamically detected, and then used accordingly.
Given that the builtins are precompiled, we can't use `CpuFeatures::IsSupported` as that wouldn't take the actual hardware into account.
We would either remove these functions from precompilation, or have a dynamic branch looking at the CPU feature in the generated assembly.
Did other architectures run into similar issues?
Any suggestions on how to handle this?
Thanks.