[llvm] [SLP] Extract isIdentityOrder to common routine [probably NFC] (PR #106582)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 10:53:47 PDT 2024


================
@@ -1364,6 +1364,18 @@ class BoUpSLP {
   /// Perform LICM and CSE on the newly generated gather sequences.
   void optimizeGatherSequence();
 
+  /// Does this non-empty order represent an identity order?  Identity
+  /// should be represented as an empty order, so this is used to
+  /// decide if we can canonicalize a computed order.  Undef elements
----------------
alexey-bataev wrote:

Ah, I see

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


More information about the llvm-commits mailing list