[PATCH] D105555: [PoC][RISCV][Clang] Compute the default target-abi if it's empty.
Jessica Clarke via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 7 08:42:33 PDT 2021
jrtc27 added a comment.
Extract the code out into a shared function, don't duplicate it otherwise we'll get confusing inconsistent defaults. Especially when there are proposals to change the defaults as currently there are some weird interactions where specifying seemingly-redundant flags changes the behaviour (e.g. clang -target riscv32-unknown-elf gets you rv32imac/ilp32, but clang -target riscv32-unknown-elf -mabi=ilp32 gets you rv32imafdc/ilp32).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105555/new/
https://reviews.llvm.org/D105555
More information about the cfe-commits
mailing list