[PATCH] D91759: [NFC][TFUtils] also include output specs lookup logic in loadOutputSpecs

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 18 20:56:00 PST 2020


mtrofin created this revision.
mtrofin added reviewers: yundiqian, gjain, davidxl.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
mtrofin requested review of this revision.

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).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91759

Files:
  llvm/include/llvm/Analysis/Utils/TFUtils.h
  llvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
  llvm/lib/Analysis/TFUtils.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91759.306296.patch
Type: text/x-patch
Size: 5308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201119/66b5057a/attachment.bin>


More information about the llvm-commits mailing list