diff options
author | Alex Zinenko <zinenko@google.com> | 2023-04-22 08:57:10 +0000 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2023-04-25 03:33:54 +0000 |
commit | 65eedcebdc03052959508911417bac548009652a (patch) | |
tree | 6f12106b3a886560f4f7d3dc1a60b38c68155262 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 8117f58adc97b4e1bb8720d2113a7e092260131b (diff) | |
download | llvm-65eedcebdc03052959508911417bac548009652a.zip llvm-65eedcebdc03052959508911417bac548009652a.tar.gz llvm-65eedcebdc03052959508911417bac548009652a.tar.bz2 |
[mlir] detensorize: don't accidentally convert function entry blocks
In the Linalg detensorize pass, dialect conversion could accidentally
trigger signature conversion of the function entry block after inlining
the body of a Linalg generic into it. Such a conversion is not desirable
because it would break the internal validity of the function op, that is
futhermore not supposed to be detensorized at the boundary. Mitigate
this by creating a dummy (empty) entry block so Linalg operations are
never inlined into it and the conversion is never triggered.
Closes #62249.
Reviewed By: silvas
Differential Revision: https://reviews.llvm.org/D148983
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions