[PATCH] D152558: [CodeGen] Extend reduction support in ComplexDeinterleaving pass to support predication

Igor Kirillov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 10:01:01 PDT 2023


igor.kirillov created this revision.
Herald added subscribers: mgabka, hiraditya.
Herald added a project: All.
igor.kirillov requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, alextsao1999.
Herald added a project: LLVM.

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.

Depends on D152022 <https://reviews.llvm.org/D152022>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152558

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152558.530000.patch
Type: text/x-patch
Size: 11157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230609/bfe2d2fc/attachment.bin>


More information about the llvm-commits mailing list