[llvm] [PhaseOrdering][X86] vector-reductions-expanded.ll - use passes list instead of piped opt stages (PR #194608)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 06:20:30 PDT 2026


https://github.com/RKSimon updated https://github.com/llvm/llvm-project/pull/194608

>From 24c53a7bb3cf31a8139c6377d1b9132b6b33d0cc Mon Sep 17 00:00:00 2001
From: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: Tue, 28 Apr 2026 13:53:53 +0100
Subject: [PATCH] [PhaseOrdering][X86] vector-reductions-expanded.ll - use
 passes list instead of piped opts

Cleanup to make it easier to regenerate checks for #194473
---
 .../Transforms/PhaseOrdering/X86/vector-reductions-expanded.ll  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/test/Transforms/PhaseOrdering/X86/vector-reductions-expanded.ll b/llvm/test/Transforms/PhaseOrdering/X86/vector-reductions-expanded.ll
index 987a528b52640..928f49aa2dc3d 100644
--- a/llvm/test/Transforms/PhaseOrdering/X86/vector-reductions-expanded.ll
+++ b/llvm/test/Transforms/PhaseOrdering/X86/vector-reductions-expanded.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -O2 -mattr=avx < %s | opt -expand-reductions -mattr=avx -S | FileCheck %s
+; RUN: opt < %s -passes="default<O2>,expand-reductions" -mattr=avx -S | FileCheck %s
 
 ; Test if SLP vector reduction patterns are recognized
 ; and optionally converted to reduction intrinsics and



More information about the llvm-commits mailing list