[all-commits] [llvm/llvm-project] 460dda: [WholeProgramDevirt][NewPM] Add NPM testing path t...

aeubanks via All-commits all-commits at lists.llvm.org
Wed Sep 30 17:28:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 460dda071e091df3b5584f21954c9209e7334c50
      https://github.com/llvm/llvm-project/commit/460dda071e091df3b5584f21954c9209e7334c50
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
    M llvm/test/Transforms/WholeProgramDevirt/import.ll

  Log Message:
  -----------
  [WholeProgramDevirt][NewPM] Add NPM testing path to match legacy pass

The legacy pass's default constructor sets UseCommandLine = true and
goes down a separate testing route. Match that in the NPM pass.

This fixes all tests in llvm/test/Transforms/WholeProgramDevirt under NPM.

Reviewed By: ychen

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




More information about the All-commits mailing list