diff options
author | Stella Laurenzo <stellaraccident@gmail.com> | 2021-12-12 21:19:39 -0800 |
---|---|---|
committer | Stella Laurenzo <stellaraccident@gmail.com> | 2021-12-13 12:01:53 -0800 |
commit | 34696e6542894ac63dbfb899b0181c539c223ef1 (patch) | |
tree | 4bad184bd55b4ad385fc5689e4867a971faef2fc /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | 82d6a96e129e959f78173a4ad5d165380f98d3f5 (diff) | |
download | llvm-34696e6542894ac63dbfb899b0181c539c223ef1.zip llvm-34696e6542894ac63dbfb899b0181c539c223ef1.tar.gz llvm-34696e6542894ac63dbfb899b0181c539c223ef1.tar.bz2 |
[NFC] Generalize a couple of passes so they can operate on any FunctionLike op.
* Generalizes passes linalg-detensorize, linalg-fold-unit-extent-dims, convert-elementwise-to-linalg.
* I feel that more work could be done in the future (i.e. make FunctionLike into a proper OpInterface and extend actions in dialect conversion to be trait based), and this patch would be a good record of why that is useful.
* Note for downstreams:
* Since these passes are now generic, they do not automatically nest with pass managers set up for that.
* If running them over nested functions, you must nest explicitly. Upstream has adopted this style but *-opt still has some uses of implicit pipelines via args. See tests for argument changes needed.
Differential Revision: https://reviews.llvm.org/D115645
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions