[PATCH] D70116: [RISCV] add subtargets initialized with target feature

Sam Elliott via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 27 14:17:51 PST 2019


lenary added a comment.

We definitely want to support `rv32imafc/ilp32` and combinations like that.

At some point we're going to have to reckon with the fact that the ABI is described globally in the resulting object file, so cannot really be modelled on a per-function basis.

I think you're right that the solution for the moment is to pass `-target-abi` down to LTO, but only for RISC-V targets. We can work out what else we need to do for LTO once we're at that point.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70116





More information about the llvm-commits mailing list