[llvm] [TTI] Remove Args argument from getOperandsScalarizationOverhead (NFC). (PR #154126)

Sam Tebbs via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 19 02:24:48 PDT 2025


================
@@ -347,6 +348,21 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
     return Cost;
   }
 
+  /// Filter out constant and duplicated entries in \p Ops and return a vector
+  /// containing the corresponding types.
----------------
SamTebbs33 wrote:

The comment makes it seem like the types correspond to the filtered-out operands. Perhaps you could rewrite the second half to be clear it refers to the types of the remaining operands.

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


More information about the llvm-commits mailing list