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

Sam Elliott via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 9 05:33:00 PDT 2024


lenary wrote:

> > What's the status of backend support for the large code model? That would presumably be a prerequisite to landing this.
> 
> It was just merged: #70308.

I expected I was out of date, thanks for the link.

The psABI says the large code model is not compatible with PIC - this presumably still applies to LLVM's implementation? If so, I think we need to add an unsupported error message in this case.



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


More information about the cfe-commits mailing list