[PATCH] D44821: [NFC] OptPassGate extracted from OptBisect

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 23 02:44:37 PDT 2018


yrouban created this revision.
yrouban added reviewers: andrew.w.kaylor, fedor.sergeev, vsk, dberlin, Eugene.Zelenko, reames, skatkov.

This is an NFC refactoring of the OptBisect class to split it into an optional pass gate interface used by LLVMContext and the Optional Pass Bisector (OptBisect) used for debugging of optional passes.

This refactoring is needed for https://reviews.llvm.org/D44464, which introduces setOptPassGate() method to allow implementations other than OptBisect.


https://reviews.llvm.org/D44821

Files:
  include/llvm/IR/LLVMContext.h
  include/llvm/IR/OptBisect.h
  lib/Analysis/CallGraphSCCPass.cpp
  lib/Analysis/LoopPass.cpp
  lib/Analysis/RegionPass.cpp
  lib/IR/LLVMContext.cpp
  lib/IR/LLVMContextImpl.cpp
  lib/IR/LLVMContextImpl.h
  lib/IR/OptBisect.cpp
  lib/IR/Pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44821.139566.patch
Type: text/x-patch
Size: 10459 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180323/3b79988d/attachment.bin>


More information about the llvm-commits mailing list