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

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 27 10:13:23 PST 2025


================
@@ -1613,6 +1613,11 @@ class TargetTransformInfo {
   /// split during legalization. Zero is returned when the answer is unknown.
   unsigned getNumberOfParts(Type *Tp) const;
 
+  /// \return true if \p Tp represents a type, fully occupying whole register,
----------------
alexey-bataev wrote:

Added `(up to known minimum length)`. Is this enough?

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


More information about the llvm-commits mailing list