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

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 8 02:04:22 PST 2023


asb added a comment.

In D134129#4156835 <https://reviews.llvm.org/D134129#4156835>, @craig.topper wrote:

> Do we still want -mno-save-restore to override this? If so maybe we need to do this in clang driver instead.

FWIW, I think retaining the ability to have `-mno-save-restore` take effect is useful. So doing this in the clang driver as suggested makes sense.


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

https://reviews.llvm.org/D134129



More information about the llvm-commits mailing list