| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[flang][RISCV] Add target-abi ModuleFlag. (#126188) This is needed to generate proper ABI flags in the ELF header for LTO builds. If these flags aren't set correctly, we can't link with objects that were built with the correct flags. For non-LTO builds the mcpu/mattr in the TargetMachine will cause the backend to infer an ABI. For LTO builds the mcpu/mattr aren't set. I've only added lp64, lp64f, and lp64d ABIs. ilp32* requires riscv32 which is not yet supported in flang. lp64e requires a different DataLayout string and would need additional plumbing. Fixes #115679 | 1 年前 | |
[Flang][RISCV] Set vscale_range based off zvl*b (#77277) This patch implements the logic (for now, copied from RISCVTargetInfo::getVScaleRange) so that we can compute the vscale_range based off of the zvl*b extension, e.g. using an arch with zvl256b now implies vscale_range(2,1024). It's worth noting that we don't have to exactly copy the behaviour of clang with regards to how it interacts with the -mvscale-min/-mvscale-max flags, but changing it can be left to a future patch. This also adds a guard for +sve so that we only check for it on aarch64, which was the behaviour prior to 898db1136e679 | 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 年前 | ||
| 2 年前 |