[PATCH] D150605: LLT: Add some stub constructors for FP types

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 16 10:49:55 PDT 2023


arsenm added a comment.

In D150605#4347050 <https://reviews.llvm.org/D150605#4347050>, @tschuett wrote:

> Could you store an enum in LLT for the vast range of current and future floating point kinds?

That's what I was thinking. For all practical purposes we have excess bits for size/element count to steal some (although we do break on cases where we can't represent an IR type in LLT. We'd need an EVT equivalent referring back to an IR type to handle 100% of types the DAG can deal with)


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

https://reviews.llvm.org/D150605



More information about the llvm-commits mailing list