Page MenuHomePhabricator

[RISCV] Pass target-abi via module flag metadata
ClosedPublic

Authored by khchen on Jan 15 2020, 2:00 AM.

Details

Summary

in D71387, and this we agree encoding target-abi in module would make sense.
This patch only emit target-abi for RISCV because the first user is probably only the RISC-V target.

Diff Detail

Event Timeline

khchen created this revision.Jan 15 2020, 2:00 AM

Please can you also add code for ensuring that the target-abi module flag matches the -target-abi command line flag in llvm?

Please can you also add code for ensuring that the target-abi module flag matches the -target-abi command line flag in llvm?

please see D72768, thanks!

lenary accepted this revision.Jan 20 2020, 7:11 AM

LGTM, Thank You!

This revision is now accepted and ready to land.Jan 20 2020, 7:11 AM
Closed by commit rGe15fb06e2d0a: [RISCV] Pass target-abi via module flag metadata (authored by Zakk Chen <zakk.chen@sifive.com>). · Explain WhyJan 20 2020, 11:46 PM
This revision was automatically updated to reflect the committed changes.