[llvm] [VectorCombine] Fold binary op of reductions. (PR #121567)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 29 07:59:17 PST 2025


================
@@ -1,12 +1,11 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
-; RUN: opt < %s -passes=instcombine -S | FileCheck %s
+; RUN: opt < %s -passes=vector-combine -vector-combine-force-fold-binop-of-reductions=true -S | FileCheck %s
----------------
RKSimon wrote:

We need cost based test coverage without -vector-combine-force-fold-binop-of-reductions

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


More information about the llvm-commits mailing list