diff options
author | rkayaith <rkayaith@gmail.com> | 2022-09-08 21:39:55 -0400 |
---|---|---|
committer | rkayaith <rkayaith@gmail.com> | 2022-09-27 20:34:20 -0400 |
commit | 7e22179d38c438fedb0d9bb0cff1585843bd7082 (patch) | |
tree | aaac0219affec307c60b36523efe7a784c5dffb4 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | c595c874cb32564d05a31b565a41d67b3319533e (diff) | |
download | llvm-7e22179d38c438fedb0d9bb0cff1585843bd7082.zip llvm-7e22179d38c438fedb0d9bb0cff1585843bd7082.tar.gz llvm-7e22179d38c438fedb0d9bb0cff1585843bd7082.tar.bz2 |
[mlir-opt] Delay pass manager creation until after parsing
Currently the pass manager is created before parsing, which requires an
assumption that the top-level operation will be `builtin.module`.
Delaying the creation allows for using the parsed top-level operation as
the PassManager operation instead.
A followup change will allow for parsing top-level operations other than
`builtin.module`.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D133644
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions