[all-commits] [llvm/llvm-project] 57a469: [IRSim][IROutliner] Allowing call instructions to ...

Andrew Litteken via All-commits all-commits at lists.llvm.org
Thu Dec 31 21:30:13 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57a46914f5c1efbdc130dc7a06f8d5b45d606f8d
      https://github.com/llvm/llvm-project/commit/57a46914f5c1efbdc130dc7a06f8d5b45d606f8d
  Author: Andrew Litteken <andrew.litteken at gmail.com>
  Date:   2020-12-31 (Thu, 31 Dec 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/IROutliner.h
    R llvm/test/Transforms/IROutliner/illegal-calls.ll
    A llvm/test/Transforms/IROutliner/illegal-indirect-calls.ll
    A llvm/test/Transforms/IROutliner/outlining-calls.ll

  Log Message:
  -----------
  [IRSim][IROutliner] Allowing call instructions to be outlined.

We add an extra check to make sure that we do not outline calls to
indirect functions, but outline whatever the IRSimilarityIdentifier
finds with respect to calls.

Tests:
Removing test/Transforms/IROutliner/illegal-calls.ll
Adding test/Transforms/IROutliner/outlining-calls.ll
Adding test/Transforms/IROutliner/illegal-indirect-calls.ll

Excluding DebugInfo this is the last patch for the initial
implementation of the IROutliner!

Reviewers: jroelofs, paquette

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




More information about the All-commits mailing list