[PATCH] D76007: [TableGen][GlobalISel] Account for HwMode in RegisterBank register sizes
Lewis Revill via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 10 03:20:51 PST 2022
lewis-revill added a comment.
In D76007#3308144 <https://reviews.llvm.org/D76007#3308144>, @arsenm wrote:
> Register banks do not have sizes. A register bank mapping is a bank plus a size/offset that you can change based on the target's size, not part of the bank itself.
Right. But before this patch there was a max size associated to the bank itself, which is queried by the verifier. And if we want to keep that concept of a maximum size surely we should have it be accurate? So for different hardware modes it should be possible for it to be different.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76007/new/
https://reviews.llvm.org/D76007
More information about the llvm-commits
mailing list