[all-commits] [llvm/llvm-project] 21b4cc: Reland [NFC] Derive from PassInfoMixin for no-op/p...

aeubanks via All-commits all-commits at lists.llvm.org
Fri Jul 10 12:52:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 21b4cc1db9f4eb6d6956802257e3a80f86045c67
      https://github.com/llvm/llvm-project/commit/21b4cc1db9f4eb6d6956802257e3a80f86045c67
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-07-10 (Fri, 10 Jul 2020)

  Changed paths:
    M llvm/include/llvm/IR/IRPrintingPasses.h
    M llvm/include/llvm/module.modulemap
    M llvm/lib/IR/LegacyPassManager.cpp
    M llvm/lib/Passes/PassBuilder.cpp

  Log Message:
  -----------
  Reland [NFC] Derive from PassInfoMixin for no-op/printing passes

PassInfoMixin should be used for all NPM passes, rater than a custom
`name()`.

This caused ambiguous references in LegacyPassManager.cpp, so had to
remove "using namespace llvm::legacy" and move some things around.

Reviewed By: ychen, asbirlea

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




More information about the All-commits mailing list