aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNicolas Vasilache <nicolas.vasilache@gmail.com>2021-02-19 09:33:56 +0000
committerNicolas Vasilache <nicolas.vasilache@gmail.com>2021-02-19 09:38:33 +0000
commitd12fa33d736d60d419f86b4ec5f3e77e602d4b1e (patch)
tree429c4e891e59fd050727d0409f8707e4cbd07455 /flang/lib/Frontend/CompilerInvocation.cpp
parent0d829802969fc455c41ee27ec08fb1f8db1321d9 (diff)
downloadllvm-d12fa33d736d60d419f86b4ec5f3e77e602d4b1e.zip
llvm-d12fa33d736d60d419f86b4ec5f3e77e602d4b1e.tar.gz
llvm-d12fa33d736d60d419f86b4ec5f3e77e602d4b1e.tar.bz2
[mlir] Add a TensorLoadToMemref canonicalization
A folder of `tensor_load + tensor_to_memref` exists but it only applies when source and destination memref types are the same. This revision adds a canonicalize `tensor_load + tensor_to_memref` to `memref_cast` when type mismatches prevent folding to kick in. Differential Revision: https://reviews.llvm.org/D97038
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions