[all-commits] [llvm/llvm-project] fc760c: [mlir][vector] Fold cancelling vector.shape_cast(v...
Lei Zhang via All-commits
all-commits at lists.llvm.org
Fri Apr 22 06:02:30 PDT 2022
Author: Lei Zhang <antiagainst at google.com>
Date: 2022-04-22 (Fri, 22 Apr 2022)
[mlir][vector] Fold cancelling vector.shape_cast(vector.broadcast)
vector.broadcast can inject all size one dimensions. If it's
followed by a vector.shape_cast to the original type, we can
cancel the op pair, like cancelling consecutive shape_cast ops.
Reviewed By: mravishankar
Differential Revision: https://reviews.llvm.org/D124094
More information about the All-commits