[PATCH] D18576: Initial implementation of optimization bisect

Andy Kaylor via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 7 11:29:47 PDT 2016


andrew.w.kaylor updated this revision to Diff 52941.
andrew.w.kaylor added a comment.

Added tests
Moved a few checks so that the bisect check happened before the debug message saying the pass was being executed
Made printing passes unskippable
Updated adapter passes to call the contained pass' isSkippable function


Repository:
  rL LLVM

http://reviews.llvm.org/D18576

Files:
  include/llvm/Analysis/CGSCCPassManager.h
  include/llvm/Analysis/LoopPass.h
  include/llvm/Analysis/LoopPassManager.h
  include/llvm/Analysis/RegionPass.h
  include/llvm/Bitcode/BitcodeWriterPass.h
  include/llvm/CodeGen/AsmPrinter.h
  include/llvm/CodeGen/LiveIntervalAnalysis.h
  include/llvm/CodeGen/LiveRegMatrix.h
  include/llvm/CodeGen/LiveStackAnalysis.h
  include/llvm/CodeGen/LiveVariables.h
  include/llvm/CodeGen/MachineFunctionAnalysis.h
  include/llvm/CodeGen/SelectionDAGISel.h
  include/llvm/CodeGen/SlotIndexes.h
  include/llvm/CodeGen/VirtRegMap.h
  include/llvm/IR/IRPrintingPasses.h
  include/llvm/IR/LegacyPassManagers.h
  include/llvm/IR/OptBisect.h
  include/llvm/IR/PassManager.h
  include/llvm/IR/PassManagerInternal.h
  include/llvm/IR/Verifier.h
  include/llvm/Pass.h
  include/llvm/Transforms/IPO/ForceFunctionAttrs.h
  lib/Analysis/CallGraphSCCPass.cpp
  lib/Analysis/LoopPass.cpp
  lib/Analysis/RegionPass.cpp
  lib/CodeGen/DwarfEHPrepare.cpp
  lib/CodeGen/ExpandISelPseudos.cpp
  lib/CodeGen/ExpandPostRAPseudos.cpp
  lib/CodeGen/FuncletLayout.cpp
  lib/CodeGen/GCRootLowering.cpp
  lib/CodeGen/LiveDebugValues.cpp
  lib/CodeGen/LiveDebugVariables.h
  lib/CodeGen/LocalStackSlotAllocation.cpp
  lib/CodeGen/MachineScheduler.cpp
  lib/CodeGen/PHIElimination.cpp
  lib/CodeGen/PrologEpilogInserter.cpp
  lib/CodeGen/RegAllocFast.cpp
  lib/CodeGen/RegAllocGreedy.cpp
  lib/CodeGen/ShadowStackGCLowering.cpp
  lib/CodeGen/SjLjEHPrepare.cpp
  lib/CodeGen/StackColoring.cpp
  lib/CodeGen/StackSlotColoring.cpp
  lib/CodeGen/TwoAddressInstructionPass.cpp
  lib/CodeGen/UnreachableBlockElim.cpp
  lib/CodeGen/VirtRegMap.cpp
  lib/CodeGen/WinEHPrepare.cpp
  lib/IR/CMakeLists.txt
  lib/IR/IRPrintingPasses.cpp
  lib/IR/LegacyPassManager.cpp
  lib/IR/OptBisect.cpp
  lib/IR/Verifier.cpp
  lib/Passes/PassBuilder.cpp
  lib/Target/X86/X86ExpandPseudo.cpp
  lib/Target/X86/X86FloatingPoint.cpp
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86VZeroUpper.cpp
  lib/Transforms/IPO/ForceFunctionAttrs.cpp
  lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
  lib/Transforms/Utils/AddDiscriminators.cpp
  test/Other/opt-bisect-helper.py
  test/Other/opt-bisect-legacy-pass-manager.ll
  test/Other/opt-bisect-new-pass-manager.ll
  test\Other\opt-bisect-helper.py
  unittests/Analysis/CGSCCPassManagerTest.cpp
  unittests/Analysis/LoopPassManagerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18576.52941.patch
Type: text/x-patch
Size: 89040 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160407/08f391a7/attachment-0001.bin>


More information about the llvm-commits mailing list