diff options
author | Tobias Gysi <gysit@google.com> | 2021-04-21 06:37:18 +0000 |
---|---|---|
committer | Tobias Gysi <gysit@google.com> | 2021-04-21 06:37:53 +0000 |
commit | 5a451e486f31de36913d6fc22a1b92b39caa3b0e (patch) | |
tree | b60e2b42f877d3a63ab7681bff126e0fc23a439f /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6048d1d19c55a107f67cd617d6ed386831b5adee (diff) | |
download | llvm-5a451e486f31de36913d6fc22a1b92b39caa3b0e.zip llvm-5a451e486f31de36913d6fc22a1b92b39caa3b0e.tar.gz llvm-5a451e486f31de36913d6fc22a1b92b39caa3b0e.tar.bz2 |
[mlir][linalg] adapt named op generalization to work with captures.
Instead of always running the region builder check if the generalized op has a region attached. If yes inline the existing region instead of calling the region builder. This change circumvents a problem with named operations that have a region builder taking captures and the generalization pass not knowing about this captures.
Differential Revision: https://reviews.llvm.org/D100880
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions