aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorIan Wood <75152913+IanWood1@users.noreply.github.com>2024-10-24 17:04:02 -0700
committerGitHub <noreply@github.com>2024-10-24 17:04:02 -0700
commit455f71d28541c3dcb628c4c6f7b53d6eae0f1829 (patch)
tree8e1e8c90b8fb9b0ac325920e07517a293c07a480 /flang/lib/Frontend/CompilerInvocation.cpp
parent8c2e8b5124a0365664bb79b0caa9cec74d8148ff (diff)
downloadllvm-455f71d28541c3dcb628c4c6f7b53d6eae0f1829.zip
llvm-455f71d28541c3dcb628c4c6f7b53d6eae0f1829.tar.gz
llvm-455f71d28541c3dcb628c4c6f7b53d6eae0f1829.tar.bz2
[mlir] Convert `expand_shape` to more static form (#112265)
Add pattern that converts a `tensor.expand_shape` op to a more static form. This matches the pattern: `tensor.cast` -> `tensor.expand_shape` if it has a foldable `tensor.cast` and some constant foldable `output_shape` operands for the `tensor.expand_shape`. This makes the `tensor.expand_shape` more static, as well as allowing the static information to be propagated further down in the program.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions