[PATCH] D19882: Add opt-bisect support to additional passes that can be skipped

Andy Kaylor via llvm-commits llvm-commits at lists.llvm.org
Tue May 3 11:22:24 PDT 2016


andrew.w.kaylor created this revision.
andrew.w.kaylor added a reviewer: probinson.
andrew.w.kaylor added a subscriber: llvm-commits.
andrew.w.kaylor set the repository for this revision to rL LLVM.
Herald added a subscriber: mzolotukhin.

This pass adds the skip check used for opt-bisect and function "optnone" attribute handling to some passes that previously lacked the check but appear to be skippable.

I am also adding a new case to the opt-bisect test that verifies no pass is skipped that is run at opt level zero.

There are some problems remaining with AMDGPU passes that will cause the new test to fail on those platforms.  I intend to address those issues in a separate patch.

Repository:
  rL LLVM

http://reviews.llvm.org/D19882

Files:
  lib/CodeGen/EarlyIfConversion.cpp
  lib/CodeGen/ExecutionDepsFix.cpp
  lib/CodeGen/IfConversion.cpp
  lib/CodeGen/MachineBlockPlacement.cpp
  lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
  lib/Transforms/Scalar/ConstantProp.cpp
  lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  lib/Transforms/Scalar/LoopDataPrefetch.cpp
  lib/Transforms/Scalar/LoopDistribute.cpp
  lib/Transforms/Scalar/LoopInterchange.cpp
  lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
  lib/Transforms/Scalar/Reg2Mem.cpp
  lib/Transforms/Scalar/Scalarizer.cpp
  lib/Transforms/Scalar/SimplifyCFGPass.cpp
  lib/Transforms/Utils/SimplifyInstructions.cpp
  test/Other/opt-bisect-legacy-pass-manager.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19882.56035.patch
Type: text/x-patch
Size: 10244 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160503/48d73c74/attachment.bin>


More information about the llvm-commits mailing list