[all-commits] [llvm/llvm-project] d8f531: [NewPM] Don't run before pass instrumentation on r...

aeubanks via All-commits all-commits at lists.llvm.org
Wed Nov 4 09:47:43 PST 2020


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

  Changed paths:
    M llvm/include/llvm/IR/PassInstrumentation.h
    M llvm/include/llvm/Passes/StandardInstrumentations.h
    M llvm/lib/Passes/StandardInstrumentations.cpp
    M llvm/test/Feature/optnone-opt.ll
    M llvm/unittests/IR/PassBuilderCallbacksTest.cpp

  Log Message:
  -----------
  [NewPM] Don't run before pass instrumentation on required passes

This allows those instrumentation to log when they decide to skip a
pass. This provides extra helpful info for optnone functions and also
will help with opt-bisect.

Have OptNoneInstrumentation print when it skips due to seeing optnone.

Reviewed By: asbirlea

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




More information about the All-commits mailing list