HomePhabricator

[RISCV] Add option aliases: -mcmodel=medany and -mcmodel=medlow

Description

[RISCV] Add option aliases: -mcmodel=medany and -mcmodel=medlow

RISC-V GCC use -mcmodel=medany and -mcmodel=medlow, but LLVM use
-mcmodel=small and -mcmodel=medium.

Add those two option aliases for provide same user interface between
GCC and LLVM.

Reviewed By: lenary

Differential Revision: https://reviews.llvm.org/D67066

Details

Committed
kitoSep 17 2019, 1:19 AM
Reviewer
lenary
Differential Revision
D67066: [RISCV] Add option aliases: -mcmodel=medany and -mcmodel=medlow
Branches
Unknown
Tags
Unknown