aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorRob Suderman <rob.suderman@gmail.com>2024-04-19 10:36:09 -0700
committerGitHub <noreply@github.com>2024-04-19 10:36:09 -0700
commitc045955501ed28fee7c40d8822a1aacc2022786e (patch)
tree605bbff992e11cb85fd6bcbc4b5a1be41c5f9160 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parentab22504479cb7b8985855aa2f2c851390bc1d167 (diff)
downloadllvm-c045955501ed28fee7c40d8822a1aacc2022786e.zip
llvm-c045955501ed28fee7c40d8822a1aacc2022786e.tar.gz
llvm-c045955501ed28fee7c40d8822a1aacc2022786e.tar.bz2
[mlir][tensor] Fold `tensor.reshape` for dynamic reshape (#88961)
If `tensor.reshape` occurs with `d0, d1, d2, ...` for the dimensions we know that the reshape is a no-op. Checking for this case lets us fold away the computation.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions