[all-commits] [llvm/llvm-project] 410331: [NewPM] Port MergeFunctions pass

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jan 14 11:55:52 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 410331869defbde0f6e5b7b3f8ee30c10b7f6be3
      https://github.com/llvm/llvm-project/commit/410331869defbde0f6e5b7b3f8ee30c10b7f6be3
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M llvm/include/llvm/InitializePasses.h
    A llvm/include/llvm/Transforms/IPO/MergeFunctions.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/Transforms/IPO/IPO.cpp
    M llvm/lib/Transforms/IPO/MergeFunctions.cpp
    M llvm/test/Transforms/MergeFunc/merge-block-address.ll

  Log Message:
  -----------
  [NewPM] Port MergeFunctions pass

This ports the MergeFunctions pass to the NewPM. This was rather
straightforward, as no analyses are used.

Additionally MergeFunctions needs to be conditionally enabled in
the PassBuilder, but I left that part out of this patch.

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




More information about the All-commits mailing list