aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.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 /llvm/lib/CodeGen/MachineFunction.cpp
parentecde3036906e4c9e92ffccdd22985e2b7eac5dca (diff)
downloadllvm-89d555134aa1bf6f80aea3043354166cdaaae016.zip
llvm-89d555134aa1bf6f80aea3043354166cdaaae016.tar.gz
llvm-89d555134aa1bf6f80aea3043354166cdaaae016.tar.bz2
[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 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions