[all-commits] [llvm/llvm-project] 4274cb: [PartialInliner]: Handle code regions in a switch ...

etiotto via All-commits all-commits at lists.llvm.org
Mon Nov 2 11:33:20 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4274cbba1c69a67020aa2ecebd4a4065425daf8a
      https://github.com/llvm/llvm-project/commit/4274cbba1c69a67020aa2ecebd4a4065425daf8a
  Author: Ettore Tiotto <etiotto at ca.ibm.com>
  Date:   2020-11-02 (Mon, 02 Nov 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/PartialInlining.cpp
    A llvm/test/Transforms/PartialInlining/switch_stmt.ll

  Log Message:
  -----------
  [PartialInliner]: Handle code regions in a switch stmt cases

This patch enhances computeOutliningColdRegionsInfo() to allow it to
consider regions containing a single basic block and a single
predecessor as candidate for partial inlining.

Reviewed By: fhann

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




More information about the All-commits mailing list