Skip to content
Commit 15a08cf2 authored by Diego Caballero's avatar Diego Caballero
Browse files

[mlir][Vector] Fold selects of single-element i1 vectors

This patch adds a folding to select operation between an all-true and all-false vector.
For now, only single element vectors (i.e., vector<1xi1>) are supported. Multi-element
cases are caught by InstCombine.

Reviewed By: awarzynski

Differential Revision: https://reviews.llvm.org/D154682
parent c619222e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment