diff options
author | Tom Eccles <tom.eccles@arm.com> | 2023-05-17 16:07:41 +0000 |
---|---|---|
committer | Tom Eccles <tom.eccles@arm.com> | 2023-05-23 14:51:42 +0000 |
commit | 74c2ec50f393bad8b31d0dd0bd8b2ff44d361198 (patch) | |
tree | e76381a74885aae015bbdea3dbcc60568b63252c /llvm/lib/IR/Module.cpp | |
parent | 111d27484132c0692c214880576dc4a37fd6d645 (diff) | |
download | llvm-74c2ec50f393bad8b31d0dd0bd8b2ff44d361198.zip llvm-74c2ec50f393bad8b31d0dd0bd8b2ff44d361198.tar.gz llvm-74c2ec50f393bad8b31d0dd0bd8b2ff44d361198.tar.bz2 |
[flang] use greedy mlir driver for stack arrays pass
In upstream mlir, the dialect conversion infrastructure is used for
lowering from one dialect to another: the passes are of the form
XToYPass. Whereas, transformations within the same dialect tend to use
applyPatternsAndFoldGreedily.
In this case, the full complexity of applyPatternsAndFoldGreedily isn't
needed so we can get away with the simpler applyOpPatternsAndFold.
This change was suggested by @jeanPerier
Differential Revision: https://reviews.llvm.org/D150853
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions