[clang-tools-extra] [clang] [llvm] [SLP]Improve findReusedOrderedScalars and graph rotation. (PR #77529)

2024-01-30 Thread Alexey Bataev via cfe-commits
alexey-bataev wrote: > Please can you add better comments explaining the process Improves the rendering info, taken from gathered/buildvector nodes. Currently, this info is taken only from vector nodes. E.g. if we have 2 nodes: vectorized and gather/buildvector , the reoder info is build

[clang-tools-extra] [clang] [llvm] [SLP]Improve findReusedOrderedScalars and graph rotation. (PR #77529)

2024-01-30 Thread Simon Pilgrim via cfe-commits
@@ -2432,7 +2433,7 @@ class BoUpSLP { isGatherShuffledEntry( const TreeEntry *TE, ArrayRef VL, SmallVectorImpl , SmallVectorImpl> , - unsigned NumParts); + unsigned NumParts, bool ForOrder = false); RKSimon wrote: Add ForOrder to the

[clang-tools-extra] [clang] [llvm] [SLP]Improve findReusedOrderedScalars and graph rotation. (PR #77529)

2024-01-22 Thread Alexey Bataev via cfe-commits
https://github.com/alexey-bataev updated https://github.com/llvm/llvm-project/pull/77529 >From 7440ee8ba235fd871af0999f66d5d6130456400b Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Tue, 9 Jan 2024 21:43:31 + Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=