[llvm] [mlir] [mlir] use TypeSize and uint64_t in DataLayout (PR #72874)
Tobias Gysi via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 20 06:59:46 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 {
----------------
gysit wrote:
I may be missing something but it seems like the function is not used? Or is there some indirect use I did miss somehow?
https://github.com/llvm/llvm-project/pull/72874
More information about the llvm-commits
mailing list