[all-commits] [llvm/llvm-project] 15a08c: [mlir][Vector] Fold selects of single-element i1 v...
Diego Caballero via All-commits
all-commits at lists.llvm.org
Wed Aug 9 12:20:25 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 15a08cf27cd48071ab32fcac584419e1dc2174c1
https://github.com/llvm/llvm-project/commit/15a08cf27cd48071ab32fcac584419e1dc2174c1
Author: Diego Caballero <diegocaballero at google.com>
Date: 2023-08-09 (Wed, 09 Aug 2023)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
A mlir/test/Dialect/Vector/vector-materialize-mask.mlir
Log Message:
-----------
[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
More information about the All-commits
mailing list