[PATCH] D53291: add riscv32e to the llvm

Daliang Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 16 23:22:37 PDT 2018


xudaliang.pku added a comment.

In https://reviews.llvm.org/D53291#1266649, @jrtc27 wrote:

> The `RISCVABIInfo` constructor is called by `RISCVTargetCodeGenInfo`'s constructor, which in turn is called by `CodeGenModule::getTargetCodeGenInfo`. `CodeGenModule` has a `getTarget()` which should give you access to the feature flags?


Thanks for your advice, I will check the CodeGenModule and RISCVTargetCodeGenInfo's code to solve that problem I have proposed.  In that way , we can remove the triple:riscv32e. That will be great!


Repository:
  rL LLVM

https://reviews.llvm.org/D53291





More information about the llvm-commits mailing list