Page MenuHomePhabricator

[MLIR] Move SymbolOpInterface::isPublic() and friends to SymbolOpInterface Trait.
ClosedPublic

Authored by jurahul on Jun 17 2020, 3:46 PM.

Details

Summary
  • This will allow calling these functions from Op's that support this interface (like FuncOp) directly:
FuncOp func = ...
if (func.isPrivate())

Diff Detail

Event Timeline

jurahul created this revision.Jun 17 2020, 3:46 PM
Herald added a project: Restricted Project. · View Herald Transcript
jurahul edited the summary of this revision. (Show Details)Jun 17 2020, 3:47 PM
jurahul edited the summary of this revision. (Show Details)
rriddle accepted this revision.Jun 17 2020, 3:49 PM
rriddle added inline comments.
mlir/include/mlir/IR/SymbolInterfaces.td
61

Add punctuation to the end of each of these.

This revision is now accepted and ready to land.Jun 17 2020, 3:49 PM
jurahul updated this revision to Diff 271511.Jun 17 2020, 3:52 PM

Add period at end of comments.

jurahul marked an inline comment as done.Jun 17 2020, 3:52 PM
Harbormaster completed remote builds in B60727: Diff 271510.
This revision was automatically updated to reflect the committed changes.