[PATCH] D155418: [RISCV] Add bf16 as a valid type for the FPR16 register class.

Jun Sha via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 16 22:55:55 PDT 2023


joshua-arch1 added a comment.

In D155418#4504763 <https://reviews.llvm.org/D155418#4504763>, @craig.topper wrote:

> In D155418#4504759 <https://reviews.llvm.org/D155418#4504759>, @joshua-arch1 wrote:
>
>> Why are some patterns using FPR32 and FPR64 modified too?
>
> Because they use the same classes in tablegen and I had to add a `ValueType` parameter to them.

I suppose that will be hard to maintain. Can we custom codegen classes for f16/bf16 in tablegen?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155418/new/

https://reviews.llvm.org/D155418



More information about the llvm-commits mailing list