[WebAssembly] Expand vector frem instructions (#174854)
Commit
https://github.com/llvm/llvm-project/commit/6ad41bcc498b7c186ceb54616c3697fc9873c04a
changed how frem is expanded during legalization and it
broke WebAssembly but we were missing test coverage. We want to maintain
our previous behavior of unrolling vectors and using a libcall to
implement scalar frem. I'm not sure why this now has to be different
(in ISelLowering) from other libcalls like fsin which work the same way
in the end, but this code does accurately describe what we want.
Fixes: https://github.com/emscripten-core/emscripten/issues/25991
[SampleProfile] Fix pseudo-probe-coro-debug-fix.ll to only x86 targets (#175093)
Test case in https://github.com/llvm/llvm-project/pull/173834 is failing
on non-x86 targets. Adding `REQUIRES: x86-registered-target` to fix the
failures.
vmm: Add an include to vmm_ktr.h for vm_name()
Required when KTR is configured.
Remove the pcpu.h include while here, as it seems to be unneeded.
Reported by: Jenkins
Fixes: 5f13d6b60740 ("vmm: Move common accessors and vm_eventinfo into sys/dev/vmm")
[AMDGPU] Handle `s_setreg_imm32_b32` targeting `MODE` register
On certain hardware, this instruction clobbers VGPR MSB `bits[12:19]`, so we need to restore the current mode.