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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 14 19:36: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;
----------------
arsenm wrote:

I think this is too fine grained, and placing a lot of burden on targets to implement the full range of complex types. I'd probably just stick with the model target options for upgrade 

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


More information about the llvm-commits mailing list