[llvm] TTI: Fix special casing vectorization costs of saturating add/sub (PR #97463)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 04:32:20 PDT 2024


RKSimon wrote:

Can we keep the existing cost estimate code, but instead of returning Cost just stash it as a optional<ExpansionCost> value and fallback to it if the ISD legality fails?

https://github.com/llvm/llvm-project/pull/97463


More information about the llvm-commits mailing list