[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 02:55:35 PST 2024


lukel97 wrote:

> Codegen is part the Clang frontend. It is just unfortunate to copy more and more code out of Clang into Flang.

Agreed. There's also the TODO to use `TargetInfo`:

> // TODO: We should get this from TargetInfo. However, that depends on
> // too much of clang, so for now, replicate the functionality.

Would that be worth tackling instead? Although I don't have any intuition as to how big of task it would be.

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


More information about the flang-commits mailing list