[mlir] [llvm] [mlir] use TypeSize and uint64_t in DataLayout (PR #72874)
    Oleksandr Alex Zinenko via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Nov 21 05:02:15 PST 2023
    
    
  
================
@@ -244,6 +244,14 @@ template <typename LeafTy, typename ValueTy> class FixedOrScalableQuantity {
         isScalable());
   }
 
+  /// Returns a value X where the known coefficient will be rounded up to the
+  /// closest power-of-two, except for the zero coefficient that remains zero.
+  constexpr LeafTy coefficientPowerOf2Ceil() const {
----------------
ftynse wrote:
I ended up not needing this in my last version, deleting.
https://github.com/llvm/llvm-project/pull/72874
    
    
More information about the llvm-commits
mailing list