[llvm] [GlobalISel][LLT] Introduce FPInfo for LLT (Enable bfloat, ppc128float and others in GlobalISel) (PR #155107)
    Amara Emerson via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sat Sep 13 17:06:42 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;
----------------
aemerson wrote:
Why do these need to be virtual? I don't see targets overriding these.
https://github.com/llvm/llvm-project/pull/155107
    
    
More information about the llvm-commits
mailing list