[libc-commits] [PATCH] D145584: [libc] Add support for setjmp and longjmp in riscv

Mikhail Ramalho via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Mar 15 01:02:58 PDT 2023


mikhail.ramalho added a comment.

In D145584#4195635 <https://reviews.llvm.org/D145584#4195635>, @sivachandra wrote:

> Can you share the code that results in large number of instructions and register saving?

Sure! It's the previous version of this patch: https://reviews.llvm.org/D145584?id=503415

In D145584#4195637 <https://reviews.llvm.org/D145584#4195637>, @sivachandra wrote:

> Also, does it happen at `-O3` as well?

AFAICT, we already building it with -O3 (see the cmake file I changed in this patch, the one to omit the frame pointer).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145584



More information about the libc-commits mailing list