[all-commits] [llvm/llvm-project] 8ab235: [NFC][TFUtils] also include output specs lookup lo...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Wed Nov 18 21:20:51 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ab2353a4c3dc430b28190b98b16418ef8ffce30
      https://github.com/llvm/llvm-project/commit/8ab2353a4c3dc430b28190b98b16418ef8ffce30
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-11-18 (Wed, 18 Nov 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/Utils/TFUtils.h
    M llvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
    M llvm/lib/Analysis/TFUtils.cpp

  Log Message:
  -----------
  [NFC][TFUtils] also include output specs lookup logic in loadOutputSpecs

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

Differential Revision: https://reviews.llvm.org/D91759




More information about the All-commits mailing list