[clang] [llvm] [RISCV] Remove ffixed-x1/x2/x5/x6/x7 (PR #237500)
Kazu Hirata via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 2 14:57:21 PST 2026
================
@@ -16,8 +12,6 @@
; errors are produced when no registers are reserved.
define i32 @caller(i32 %a) #0 {
-; X1: in function caller {{.*}} Return address register required, but has been reserved.
-; X2: in function caller {{.*}} Stack pointer required, but has been reserved.
----------------
kazutakahirata wrote:
Should we remove the corresponding diagnostics in `RISCVISelLowering.cpp` and `RISCVFrameLowering.cpp` now that these two checks are being removed?
https://github.com/llvm/llvm-project/pull/237500
More information about the cfe-commits
mailing list