This is an archive of the discontinued LLVM Phabricator instance.

[NFC][TFUtils] also include output specs lookup logic in loadOutputSpecs
ClosedPublic

Authored by mtrofin on Nov 18 2020, 8:55 PM.

Details

Summary

The lookup logic is also reusable.

Also refactored the API to return the loaded vector - this makes it more
clear what state it is in in the case of error (as it won't be
returned).

Diff Detail

Event Timeline

mtrofin created this revision.Nov 18 2020, 8:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 18 2020, 8:55 PM
mtrofin requested review of this revision.Nov 18 2020, 8:55 PM
gjain accepted this revision.Nov 18 2020, 9:05 PM
This revision is now accepted and ready to land.Nov 18 2020, 9:05 PM
yundiqian accepted this revision.Nov 18 2020, 9:20 PM
This revision was landed with ongoing or failed builds.Nov 18 2020, 9:20 PM
This revision was automatically updated to reflect the committed changes.