[llvm] [GlobalISel][LLT] Introduce FPInfo for LLT (Enable bfloat, ppc128float and others in GlobalISel) (PR #155107)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 14 07:40:49 PDT 2025
================
@@ -417,6 +417,9 @@ class LLVM_ABI TargetLoweringBase {
/// amounts, returns MVT::i32.
EVT getShiftAmountTy(EVT LHSTy, const DataLayout &DL) const;
+ virtual LLT getLLTForType(Type &Ty, const DataLayout &DL) const;
+ virtual LLT getLLTForMVT(MVT Ty) const;
----------------
DenisGZM wrote:
Yes, right now there is no target overriding these interfaces. In this patch I only wanted provide new customizable interfaces for targets if they want to enable extended LLT. Maybe approach with looking at TargetOption is general enough so we could get rid of "virtual".
https://github.com/llvm/llvm-project/pull/155107
More information about the llvm-commits
mailing list