Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [RISCV] Add option aliases: -mcmodel=medany and -mcmodel=medlow | Kito Cheng | 2019-09-17 | 1 | -0/+10 |
| | | | | | | | | | | | | | | 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 llvm-svn: 372080 | ||||
* | [RISCV] Define __riscv_cmodel_medlow and __riscv_cmodel_medany correctly | Kito Cheng | 2019-09-17 | 1 | -0/+20 |
RISC-V LLVM was only implement small/medlow code model, so it defined __riscv_cmodel_medlow directly without check. Now, we have medium/medany code model in RISC-V back-end, it should define according the actually code model. Reviewed By: lewis-revill Differential Revision: https://reviews.llvm.org/D67065 llvm-svn: 372078 |