[clang] [RISCV] Add canonical ISA string as Module metadata in IR. (PR #80760)

Jessica Clarke via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 6 11:26:21 PST 2024


jrtc27 wrote:

> > I just noticed we only set EF_RISCV_RVC based on C, and not Zca. Is that a bug?
> 
> I think so; binutils sets it for both.

(R_RISCV_ALIGN can probably fail if you don't, I don't think it's just a missing optimisation)

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


More information about the cfe-commits mailing list