Commit 04a8070b authored by Igor Kirillov's avatar Igor Kirillov
Browse files

Revert "Revert "[CodeGen] Extend reduction support in ComplexDeinterleaving...

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 ab096548.

Reason: Reapplying after removing unnecessary default case in switch expression.
parent 2273741e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment