Skip to content
Snippets Groups Projects
Commit 616dfef0 authored by Matthew Pickering's avatar Matthew Pickering Committed by Zubin
Browse files

Fix registerArch for riscv64

The register allocator doesn't support vector registers on riscv64,
therefore advertise as NoVectors.

Fixes #25314

(cherry picked from commit af59749a)
parent a4328a4c
No related branches found
No related tags found
No related merge requests found
......@@ -49,5 +49,8 @@ registerArch arch =
ArchPPC -> Unified
ArchPPC_64 {} -> Unified
ArchAArch64 -> Unified
ArchRISCV64 -> Separate
-- Support for vector registers not yet implemented for RISC-V
-- see panic in `getFreeRegs`.
--ArchRISCV64 -> Separate
ArchRISCV64 -> NoVectors
_ -> NoVectors
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment