================ @@ -1169,7 +1169,11 @@ DEFINE_LIBUNWIND_FUNCTION(_ZN9libunwind15Registers_riscv6jumptoEv) ILOAD x\i, (RISCV_ISIZE * \i)(a0) .endr // skip a0 for now +#if defined(__riscv_abi_rve) ---------------- ArcaneNibble wrote:
Okay, I apparently did not realize that you can explicitly force `-march=rv32i -mabi=ilp32e` in which case clang will indeed start using x16-x31 as temporaries. This means that `__riscv_32e` is probably the correct define to be checking. I will update the PR. Incidentally, does this mean that MIPS soft-float-ABI-but-FPU-enabled might be buggy? https://github.com/llvm/llvm-project/pull/98855 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits