[llvm] [mlir] MathExtras: avoid unnecessarily widening types (PR #95426)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 14 01:35:11 PDT 2024
artagnon wrote:
> High level question: Do we need the "common type" logic? Would it be enough to require the types to be the same? Or would this introduce a lot of type casts at use-sites?
Yes, it's necessary. Otherwise, it would introduce a lot of type casts at callers.
https://github.com/llvm/llvm-project/pull/95426
More information about the llvm-commits
mailing list