[PATCH] D134129: [PATCH] [RISCV] Enable -msave-restore by default when optimizing for size

Aditya Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 17 12:42:10 PDT 2023


hiraditya added a comment.

Platforms like Android reserve a register x18(for AArch64). There was a patch for RISC-V  that also reserved `x18` for shadow callstack.  https://reviews.llvm.org/D14599, https://reviews.llvm.org/D143355

Will it be better to reserve a register that doesn't conflict with -msave-restore?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134129/new/

https://reviews.llvm.org/D134129



More information about the llvm-commits mailing list