[llvm] [ARM][SLP] Fix cost function for SLP Vectorization of ZExt/SExt (PR #122713)

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 22 07:08:21 PST 2025


================
@@ -0,0 +1,222 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt < %s -passes="default<O1>,slp-vectorizer" --mtriple arm-none-eabi -mattr=+mve -S -o - | FileCheck %s
----------------
davemgreen wrote:

The tests look useful on their own for SLP. Can you alter them to not require -O1? Ideally the SLP vectorizer tests just run the SLP pass on its own, so it is not dependant on the rest of the pipeline. If you want to test the whole pipeline then they can be added to PhaseOrdering tests.

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


More information about the llvm-commits mailing list