[all-commits] [llvm/llvm-project] 04a807: Revert "Revert "[CodeGen] Extend reduction support...

Igor Kirillov via All-commits all-commits at lists.llvm.org
Fri Jun 23 03:14:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04a8070b46da2bcd47d0a134922409dc16bb9d57
      https://github.com/llvm/llvm-project/commit/04a8070b46da2bcd47d0a134922409dc16bb9d57
  Author: Igor Kirillov <igor.kirillov at arm.com>
  Date:   2023-06-23 (Fri, 23 Jun 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/ComplexDeinterleavingPass.h
    M llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp
    M llvm/test/CodeGen/AArch64/complex-deinterleaving-reductions-predicated-scalable.ll

  Log Message:
  -----------
  Revert "Revert "[CodeGen] Extend reduction support in ComplexDeinterleaving pass to support predication""

Adds the capability to recognize SelectInst that appear in the IR.
These instructions are generated during scalable vectorization for reduction
and when the code contains conditions inside the loop body or when
"-prefer-predicate-over-epilogue=predicate-dont-vectorize" is set.

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

This reverts commit ab09654832dba5cef8baa6400fdfd3e4d1495624.

Reason: Reapplying after removing unnecessary default case in switch expression.




More information about the All-commits mailing list