[llvm] [GlobalISel][LLT] Introduce FPInfo for LLT (Enable bfloat, ppc128float and others in GlobalISel) (PR #155107)

Tim Gymnich via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 16 07:39:06 PST 2025


https://github.com/tgymnich commented:

I have a few minor concerns with using `APFloat::Semantics`:
Using `APFloat::Semantics` couples `LLT` to `APFloat::Semantics` with a small chance that `APFloat::Semantics` might outgrow the 7-bits in `LLT` one day.
Additionally `APFloat::Semantics` does not currently represent all possible hardware floating point types (e.g. nvfp4).

I also have some reservations about having `ANY_SCALAR` and `ANY_VECTOR` kinds.
I assume it's ok to have them if we only use them in rules and forbid them as register types.


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


More information about the llvm-commits mailing list