[clang] [RISCV] Allow -mcmodel= to accept large for RV64 (PR #107817)

Christoph Müllner via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 10 04:19:23 PDT 2024


https://github.com/cmuellner commented:

What I am missing is:
* adjustments in `clang/lib/Basic/Targets/RISCV.cpp` to emit the macro `__riscv_cmodel_large`
* new tests in `clang/test/Preprocessor/riscv-cmodel.c`

Related PRs:
* https://github.com/riscv-non-isa/riscv-c-api-doc/pull/86
* https://github.com/riscv-non-isa/riscv-toolchain-conventions/pull/59


https://github.com/llvm/llvm-project/pull/107817


More information about the cfe-commits mailing list