[all-commits] [llvm/llvm-project] 964f81: [NFC] Combine runNewPMPasses() and runNewPMCustomP...

aeubanks via All-commits all-commits at lists.llvm.org
Fri Feb 12 16:45:15 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 964f8103c58db5917c66ef39f50acf2004c90144
      https://github.com/llvm/llvm-project/commit/964f8103c58db5917c66ef39f50acf2004c90144
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-02-12 (Fri, 12 Feb 2021)

  Changed paths:
    M llvm/lib/LTO/LTOBackend.cpp

  Log Message:
  -----------
  [NFC] Combine runNewPMPasses() and runNewPMCustomPasses()

I've already witnessed two separate changes missing runNewPMPasses()
because runNewPMCustomPasses() is so similar.

This cleans up some duplicated code.

Reviewed By: tejohnson

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




More information about the All-commits mailing list