[all-commits] [llvm/llvm-project] 9d2c85: [CodeExtractor] Making the arguments outlined easi...

Andrew Litteken via All-commits all-commits at lists.llvm.org
Thu Aug 26 09:48:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d2c859ebb23d34878ee68ef2cd4f1740157c640
      https://github.com/llvm/llvm-project/commit/9d2c859ebb23d34878ee68ef2cd4f1740157c640
  Author: Andrew Litteken <andrew.litteken at gmail.com>
  Date:   2021-08-26 (Thu, 26 Aug 2021)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/CodeExtractor.h
    M llvm/lib/Transforms/Utils/CodeExtractor.cpp
    M llvm/unittests/Transforms/Utils/CodeExtractorTest.cpp

  Log Message:
  -----------
  [CodeExtractor] Making the arguments outlined easier to access from the outside

The Code Extractor does not provide an easy mechanism for determining the
inputs and outputs after extraction has occurred, this patch gives the
ability to pass in empty SetVectors to be filled with the inputs and
outputs if they need to be analyzed.

Added Tests:
- InputOutputMonitoring in unittests/Transforms/Utils/CodeExtractorTests.cpp

Reviewers: paquette

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




More information about the All-commits mailing list