diff options
author | Tom Eccles <tom.eccles@arm.com> | 2023-04-25 09:07:11 +0000 |
---|---|---|
committer | Tom Eccles <tom.eccles@arm.com> | 2023-05-18 10:48:45 +0000 |
commit | 407832db60c6f51ec5d9e5160670ee9756a340af (patch) | |
tree | c687951255b73e8331592949927737d71de51ceb /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | c7dbe326dff81273eabe339fe69cd7bef947619c (diff) | |
download | llvm-407832db60c6f51ec5d9e5160670ee9756a340af.zip llvm-407832db60c6f51ec5d9e5160670ee9756a340af.tar.gz llvm-407832db60c6f51ec5d9e5160670ee9756a340af.tar.bz2 |
[flang][hlfir] Add pass to inline elementals
Implement hlfir.elemental inlining as proposed in
flang/docs/HighLevelFIR.md.
This is a separate pass to make the code easier to understand. One
alternative would have been to modify the hlfir.elemental lowering in
the HLFIR bufferization pass.
Currently, a hlfir.elemental can only be inlined once; if there are
more uses, the existing bufferization is used instead.
Usage of mlir::applyPatternsAndFoldGreedily was suggested by @jeanPerier
Differential Revision: https://reviews.llvm.org/D149258
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
0 files changed, 0 insertions, 0 deletions