This revision refactors the implementation of outlineIfOp to expose
a finer-grain functionality outlineSingleBlockRegion that will be
reused in other contexts.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D116591
[mlir][scf] NFC - refactor the implementation of outlineIfOp ClosedPublic Authored by nicolasvasilache on Jan 4 2022, 3:37 AM.
Details Summary This revision refactors the implementation of outlineIfOp to expose
Diff Detail
Event TimelineHerald added subscribers: sdasgup3, wenzhicui, wrengr and 21 others. · View Herald TranscriptJan 4 2022, 3:37 AM This revision is now accepted and ready to land.Jan 5 2022, 2:01 AM This revision was landed with ongoing or failed builds.Jan 5 2022, 2:02 AM Closed by commit rG11b67aaffb01: [mlir][scf] NFC - refactor the implementation of outlineIfOp (authored by nicolasvasilache). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 397483 mlir/include/mlir/Dialect/SCF/Utils.h
mlir/lib/Dialect/SCF/Transforms/Utils.cpp
mlir/test/lib/Dialect/SCF/TestSCFUtils.cpp
|
Please document that this can't be done in a FunctionPass
Also document that it is the responsibility of the caller to ensure that the name will be unique in the module.