[flang-commits] [flang] [Flang][RISCV] Set vscale_range based off zvl*b (PR #77277)

Luke Lau via flang-commits flang-commits at lists.llvm.org
Mon Jan 8 03:54:07 PST 2024


lukel97 wrote:

Yeah, that sounds reasonable. Aarch64 has the same issue too, although its logic isn't as complicated.

I briefly looked at clang::TargetInfo: it's all very C specific so I don't think it makes sense to try and access it from flang. I think we need to move `getVScaleRange` somewhere language-independent. It looked like we might have been able to move it into TargetMachine, but on Clang the TargetMachine isn't created until after codegen from what I can tell.

https://github.com/llvm/llvm-project/pull/77277


More information about the flang-commits mailing list