[llvm] [SLP]Improved reduction cost/codegen (PR #118293)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 08:21:07 PST 2025


================
@@ -1611,6 +1611,10 @@ class TargetTransformInfo {
   /// split during legalization. Zero is returned when the answer is unknown.
   unsigned getNumberOfParts(Type *Tp) const;
 
+  /// \return true if \p Tp represent a type, fully occupying whole register,
+  /// false otherwise.
----------------
RKSimon wrote:

Improve the description as it doesn't seem to match the implementation in BasicTTIImpl.h

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


More information about the llvm-commits mailing list