aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
diff options
context:
space:
mode:
authorasraa <asraa@google.com>2025-06-03 11:16:03 -0500
committerGitHub <noreply@github.com>2025-06-03 09:16:03 -0700
commit34d8275e4fcd619226e2872ea0ee07f8a1634ff7 (patch)
treeb35dd167b1a946353ed18f5c5d93fae36ebe1349 /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
parentb9dec5aa793fbdb3b5db6b240f28bd18f13dbc9e (diff)
downloadllvm-34d8275e4fcd619226e2872ea0ee07f8a1634ff7.zip
llvm-34d8275e4fcd619226e2872ea0ee07f8a1634ff7.tar.gz
llvm-34d8275e4fcd619226e2872ea0ee07f8a1634ff7.tar.bz2
[mlir][tensor] add tensor insert/extract op folders (#142458)
Adds a few canonicalizers, folders, and rewrite patterns to tensor ops: * tensor.insert folder: insert into a constant is replaced with a new constant * tensor.extract folder: extract from a parent tensor that was inserted at the same indices is folded into the inserted value * rewrite pattern added that replaces an extract of a collapse shape with an extract of the source tensor (requires static source dimensions) Signed-off-by: Asra Ali <asraa@google.com>
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions