[llvm] [SLP]Initial non-power-of-2 (but still whole register) for remaining nodes (PR #113356)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 26 04:24:10 PST 2024


================
@@ -1,19 +1,35 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
 ; RUN: opt -S --passes=slp-vectorizer -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck %s
 
+; FIXME: need to fix/improve cost estimation of many SK_PermuteTwo vector registers to account
+; correctly for poisoned/identity shuffles and only calculate actual shuffles.
----------------
alexey-bataev wrote:

Yes, it would be good. Can you take a look, please? Currently X86 estimates permute-two as a long vector, while during splitting sub-masks can match better shuffle kind

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


More information about the llvm-commits mailing list