summaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorRob Suderman <suderman@google.com>2022-08-24 15:19:15 -0700
committerRob Suderman <suderman@google.com>2022-08-24 15:34:02 -0700
commit89d555134aa1bf6f80aea3043354166cdaaae016 (patch)
tree406da24ef30d704cc5c26aeac282f5f2be4acf59 /clang/lib/CodeGen/CodeGenModule.cpp
parentecde3036906e4c9e92ffccdd22985e2b7eac5dca (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