[all-commits] [llvm/llvm-project] a8a43b: Revert "[IRSim][IROutliner] Adding the extraction ...

Andrew Litteken via All-commits all-commits at lists.llvm.org
Fri Nov 27 17:56:44 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a8a43b63388f4d348eaa1f1017d6ab3be89b4945
      https://github.com/llvm/llvm-project/commit/a8a43b63388f4d348eaa1f1017d6ab3be89b4945
  Author: Andrew Litteken <andrew.litteken at gmail.com>
  Date:   2020-11-27 (Fri, 27 Nov 2020)

  Changed paths:
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/Transforms/IPO.h
    R llvm/include/llvm/Transforms/IPO/IROutliner.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/Transforms/IPO/CMakeLists.txt
    M llvm/lib/Transforms/IPO/IPO.cpp
    R llvm/lib/Transforms/IPO/IROutliner.cpp
    M llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
    R llvm/test/Transforms/IROutliner/extraction.ll
    R llvm/test/Transforms/IROutliner/outlining-address-taken.ll
    R llvm/test/Transforms/IROutliner/outlining-different-structure.ll
    R llvm/test/Transforms/IROutliner/outlining-same-constants.ll
    R llvm/test/Transforms/IROutliner/outlining-same-globals.ll

  Log Message:
  -----------
  Revert "[IRSim][IROutliner] Adding the extraction basics for the IROutliner."

Reverting commit due to address sanitizer errors.

> Extracting the similar regions is the first step in the IROutliner.
> 
> Using the IRSimilarityIdentifier, we collect the SimilarityGroups and
> sort them by how many instructions will be removed.  Each
> IRSimilarityCandidate is used to define an OutlinableRegion.  Each
> region is ordered by their occurrence in the Module and the regions that
> are not compatible with previously outlined regions are discarded.
> 
> Each region is then extracted with the CodeExtractor into its own
> function.
> 
> We test that correctly extract in:
> test/Transforms/IROutliner/extraction.ll
> test/Transforms/IROutliner/address-taken.ll
> test/Transforms/IROutliner/outlining-same-globals.ll
> test/Transforms/IROutliner/outlining-same-constants.ll
> test/Transforms/IROutliner/outlining-different-structure.ll
> 
> Reviewers: paquette, jroelofs, yroux
> 
> Differential Revision: https://reviews.llvm.org/D86975

This reverts commit bf899e891387d07dfd12de195ce2a16f62afd5e0.




More information about the All-commits mailing list