[llvm] [AArch64] - Improve costing for Identity shuffles for SVE targets. (PR #165375)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 5 10:14:46 PST 2025
================
@@ -0,0 +1,71 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -passes=vector-combine -mtriple=aarch64-unknown-linux-gnu -S %s | FileCheck %s
+; RUN: opt < %s -mtriple=aarch64--linux-gnu -passes="print<cost-model>" -cost-kind=all 2>&1 -disable-output | FileCheck %s --check-prefix=COST
----------------
davemgreen wrote:
The costmodel tests should live in a separate Analysis/CostModel/AArch64 test file.
Maybe add the shuffles found here to /work/clean/llvm/test/Analysis/CostModel/AArch64/sve-vls-shuffle-extract.ll as a new example?
https://github.com/llvm/llvm-project/pull/165375
More information about the llvm-commits
mailing list