diff options
| author | Rob Suderman <suderman@google.com> | 2022-08-24 15:19:15 -0700 |
|---|---|---|
| committer | Rob Suderman <suderman@google.com> | 2022-08-24 15:34:02 -0700 |
| commit | 89d555134aa1bf6f80aea3043354166cdaaae016 (patch) | |
| tree | 406da24ef30d704cc5c26aeac282f5f2be4acf59 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | ecde3036906e4c9e92ffccdd22985e2b7eac5dca (diff) | |
[mlir][tosa] Add constant folding for tosa.slice
If the input to a tosa.slice operation is a splat we can just replace with
another splat. If the result is a single element, replacing with a splat
is universally useful.
Reviewed By: NatashaKnk
Differential Revision: https://reviews.llvm.org/D132499
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
