[all-commits] [llvm/llvm-project] e03d25: [SLP]Do not reduce repeated values, use scalar red...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Fri Feb 17 07:23:18 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e03d254bbd548d56fba43f805acb5fa31694d602
      https://github.com/llvm/llvm-project/commit/e03d254bbd548d56fba43f805acb5fa31694d602
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-02-17 (Fri, 17 Feb 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/PhaseOrdering/X86/scalarization-inseltpoison.ll
    M llvm/test/Transforms/PhaseOrdering/X86/scalarization.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/buildvector-reduce.ll
    M llvm/test/Transforms/SLPVectorizer/X86/PR39774.ll
    M llvm/test/Transforms/SLPVectorizer/X86/buildvector_splat_extractvalue.ll
    M llvm/test/Transforms/SLPVectorizer/X86/crash_reordering_undefs.ll
    M llvm/test/Transforms/SLPVectorizer/X86/extract-scalar-from-undef.ll
    M llvm/test/Transforms/SLPVectorizer/X86/float-min-max.ll
    M llvm/test/Transforms/SLPVectorizer/X86/gather-extractelements-different-bbs.ll
    M llvm/test/Transforms/SLPVectorizer/X86/horizontal-list.ll
    M llvm/test/Transforms/SLPVectorizer/X86/malformed_phis.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reduced-gathered-vectorized.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reduction-value-in-tree.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reorder_repeated_ops.ll
    M llvm/test/Transforms/SLPVectorizer/X86/revectorized_rdx_crash.ll
    M llvm/test/Transforms/SLPVectorizer/X86/scalarization-overhead.ll
    M llvm/test/Transforms/SLPVectorizer/X86/slp-schedule-use-order.ll
    M llvm/test/Transforms/SLPVectorizer/X86/undef_vect.ll

  Log Message:
  -----------
  [SLP]Do not reduce repeated values, use scalar red ops instead.

Metric: size..text

                                                     size..text                 results     results0    diff
SingleSource/Regression/C/gcc-c-torture/execute/GCC-C-execute-980605-1.test      445.00      461.00  3.6%
SingleSource/Benchmarks/Adobe-C++/loop_unroll.test                               428477.00   428445.00 -0.0%
External/SPEC/CFP2006/447.dealII/447.dealII.test                                 618849.00   618785.00 -0.0%

For all tests some extra code was optimized, GCC-C-execute has some more
inlining after

Differential Revision: https://reviews.llvm.org/D132261




More information about the All-commits mailing list