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.
Differential D67065
[RISCV] Define __riscv_cmodel_medlow and __riscv_cmodel_medany correctly kito-cheng on Sep 2 2019, 2:11 AM. Authored by
Details RISC-V LLVM was only implement small/medlow code model, so it defined Now, we have medium/medany code model in RISC-V back-end, it should
Diff Detail
Event Timeline
Comment Actions LGTM, now I've looked at how LLVM itself supports code models. I don't mind if that TODO is or isn't deleted. |