This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Combine the 2 overloads of FuncOp::build() into one.
ClosedPublic

Authored by jurahul on Jul 7 2020, 4:15 PM.

Details

Summary
  • This will eliminate the need to pass an empty ArrayRef<NamedAttribute>{} when no named attributes are required on the function.

Diff Detail

Event Timeline

jurahul created this revision.Jul 7 2020, 4:15 PM
Herald added a reviewer: rriddle. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
rriddle accepted this revision.Jul 7 2020, 4:20 PM
This revision is now accepted and ready to land.Jul 7 2020, 4:20 PM
This revision was automatically updated to reflect the committed changes.