[all-commits] [llvm/llvm-project] 3a7b57: [NFC][NewPM] Reuse PassBuilder callbacks with -O0

aeubanks via All-commits all-commits at lists.llvm.org
Thu Nov 12 12:43:45 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a7b57b7cad32a4b59700e029d80a06c35f0a1a3
      https://github.com/llvm/llvm-project/commit/3a7b57b7cad32a4b59700e029d80a06c35f0a1a3
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-11-12 (Thu, 12 Nov 2020)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp

  Log Message:
  -----------
  [NFC][NewPM] Reuse PassBuilder callbacks with -O0

This removes lots of duplicated code which was necessary before
https://reviews.llvm.org/D89158.
Now we can use PassBuilder::runRegisteredEPCallbacks().
This is mostly sanitizers.

There is likely more that can be done to simplify, but let's start with this.

Reviewed By: ychen

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




More information about the All-commits mailing list