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

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 06:52:34 PDT 2026


Author: Simon Pilgrim
Date: 2026-04-28T13:52:29Z
New Revision: da0455adab6f9d218c1006cba05ba3fb50e09a00

URL: https://github.com/llvm/llvm-project/commit/da0455adab6f9d218c1006cba05ba3fb50e09a00
DIFF: https://github.com/llvm/llvm-project/commit/da0455adab6f9d218c1006cba05ba3fb50e09a00.diff

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

Cleanup to make it easier to regenerate checks for #194473

Added: 
    

Modified: 
    llvm/test/Transforms/PhaseOrdering/X86/vector-reductions-expanded.ll

Removed: 
    


################################################################################
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