This is much more explicit, and prevents annoying conflicts with op
specific accessors (which may have a different contract). This is similar
to the past rename of getType -> getFunctionType,
Fixes #58030
Paths
| Differential D135007
[mlir] Rename FunctionOpInterface::getBody to getFunctionBody ClosedPublic Authored by rriddle on Sep 30 2022, 7:03 PM.
Details Summary This is much more explicit, and prevents annoying conflicts with op Fixes #58030
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 1 2022, 9:38 AM Closed by commit rGecba7c58bd69: [mlir] Rename FunctionOpInterface::getBody to getFunctionBody (authored by rriddle). · Explain WhyOct 3 2022, 12:00 PM This revision was automatically updated to reflect the committed changes. rriddle marked an inline comment as done.
Revision Contents
Diff 464759 mlir/include/mlir/IR/FunctionInterfaces.td
mlir/lib/Conversion/SCFToGPU/SCFToGPUPass.cpp
mlir/lib/Dialect/Linalg/Transforms/Detensorize.cpp
mlir/lib/Transforms/Utils/DialectConversion.cpp
mlir/test/lib/IR/TestMatchers.cpp
mlir/test/lib/Pass/TestPassManager.cpp
|
op.getFunctionBody()