diff options
author | Andy Davis <andydavis@google.com> | 2020-02-11 12:57:57 -0800 |
---|---|---|
committer | Andy Davis <andydavis@google.com> | 2020-02-11 13:11:45 -0800 |
commit | 813bfffec34b87d32c9c834718f660afb5275bc8 (patch) | |
tree | 2c4f876a359b356ae9fa0bf689c93637fc084ca1 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5e37fb1776de2698c10db697e3c479d0e94234e0 (diff) | |
download | llvm-813bfffec34b87d32c9c834718f660afb5275bc8.zip llvm-813bfffec34b87d32c9c834718f660afb5275bc8.tar.gz llvm-813bfffec34b87d32c9c834718f660afb5275bc8.tar.bz2 |
[mlir][VectorOps] Adds canonicalization rewrite patterns for vector ShapeCastOp.
Summary:
Adds two rewrite patterns for the vector ShapeCastOp.
*) ShapeCastOp decomposer: decomposes ShapeCastOp on tuple-of-vectors to multiple ShapeCastOps each on vector types.
*) ShapeCastOp folder: folds canceling shape cast ops (e.g. shape_cast A -> B followed by shape_cast B -> A) away.
Reviewers: nicolasvasilache, aartbik
Reviewed By: nicolasvasilache
Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D74327
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions