Page MenuHomePhabricator

[PoC][RISCV][LTO] Pass target-abi via module flag metadata (solution 2 )
Needs ReviewPublic

Authored by khchen on Jan 5 2020, 10:01 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary
  1. Support ABI checking with per function target-features

if users don't specific -mattr, the default target-feature come from IR attribute.

  1. Enable LTO for RISCV
  2. Init MCOptions.ABIName via module flag metadata
  3. do some hack in RISCVAsmBackend

Diff Detail