[llvm] [AArch64][ISel] Use SVE for fixed width vector reductions (PR #195806)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Thu May 7 06:59:21 PDT 2026


================
@@ -0,0 +1,284 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc < %s -mtriple=aarch64-unknown-linux-gnu -mattr=+sve | FileCheck %s --check-prefixes=CHECK-SVE
+
+define i8 @test_v8i8_and(<8 x i8> %a) {
----------------
paulwalker-arm wrote:

There is a change to `AArch64TargetLowering::shouldLowerReductionToSVE` that covers all reductions.

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


More information about the llvm-commits mailing list