[all-commits] [llvm/llvm-project] 47dbee: Make NPM OptBisectInstrumentation use global singl...

Samuel Eubanks via All-commits all-commits at lists.llvm.org
Sun Dec 20 13:58:51 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47dbee6790cb813e4f4bc993585b9770c357e508
      https://github.com/llvm/llvm-project/commit/47dbee6790cb813e4f4bc993585b9770c357e508
  Author: Samuel Eubanks <swamulism at gmail.com>
  Date:   2020-12-20 (Sun, 20 Dec 2020)

  Changed paths:
    A clang/test/CodeGen/new-pass-manager-opt-bisect.c
    M llvm/include/llvm/IR/OptBisect.h
    M llvm/include/llvm/Passes/StandardInstrumentations.h
    M llvm/lib/IR/LLVMContextImpl.cpp
    M llvm/lib/IR/OptBisect.cpp
    M llvm/lib/Passes/StandardInstrumentations.cpp

  Log Message:
  -----------
  Make NPM OptBisectInstrumentation use global singleton OptBisect

Currently there is an issue where the legacy pass manager uses a different OptBisect counter than the new pass manager.
This fix makes the npm OptBisectInstrumentation use the global OptBisect.

Reviewed By: aeubanks

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




More information about the All-commits mailing list