diff options
author | Lei Zhang <antiagainst@google.com> | 2021-09-24 15:21:11 -0400 |
---|---|---|
committer | Lei Zhang <antiagainst@google.com> | 2021-09-24 15:25:14 -0400 |
commit | e325ebb9c70bbdd48866926a42d4c4373b832035 (patch) | |
tree | b18205f59f7f1a13fa6641520fdbbb0937f2c32a /llvm/lib/IR/ModuleSummaryIndex.cpp | |
parent | 5eb6b8272931473f3b279db5d2c0006993fda21a (diff) | |
download | llvm-e325ebb9c70bbdd48866926a42d4c4373b832035.zip llvm-e325ebb9c70bbdd48866926a42d4c4373b832035.tar.gz llvm-e325ebb9c70bbdd48866926a42d4c4373b832035.tar.bz2 |
[mlir][tosa] Add some transpose folders
* If the input is a constant splat value, we just
need to reshape it.
* If the input is a general constant with one user,
we can also constant fold it, without bloating
the IR.
Reviewed By: rsuderman
Differential Revision: https://reviews.llvm.org/D110439
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
0 files changed, 0 insertions, 0 deletions