[llvm] MathExtras: avoid unnecessarily widening types (PR #95426)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 24 03:23:44 PDT 2024
================
@@ -355,9 +372,14 @@ constexpr inline uint64_t MinAlign(uint64_t A, uint64_t B) {
return (A | B) & (1 + ~(A | B));
}
+/// Fallback when arguments aren't integral.
----------------
jayfoad wrote:
Why do you need fallbacks like this? What kind of "non-integral" arguments are used?
https://github.com/llvm/llvm-project/pull/95426
More information about the llvm-commits
mailing list