[llvm] [RISCV] Make X5 allocatable for JALR on CPUs without RAS (PR #78417)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 4 22:51:10 PST 2024


topperc wrote:

> Ping for comments. :-)

If this didn't improve code size on llvm-test-suite, I think it just adds an extra configuration option for no benefit.

The ARM code specifically seems to use the feature to generate a longer code sequence for noreturn calls on CPUs that support RAS to avoid corrupting the predictor. So that seems different than this patch.

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


More information about the llvm-commits mailing list