[PATCH] D72457: GlobalISel: Move getLLTForMVT/getMVTForLLT

James Y Knight via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 9 09:45:54 PST 2020


jyknight added a comment.

Can you add a comment noting the deficiencies of these conversions?

In particular:

1. MVT can't distinguish pointers from integers, and LLT cannot distinguish floating-point from integers. Therefore, only integer scalars and vectors will result from these conversions.
2. LLT cannot represent scalable vector types (yet?), so getLLTForMVT will assert if provided such an MVT.


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

https://reviews.llvm.org/D72457





More information about the llvm-commits mailing list