[PATCH] D60675: [NewPM] Add Option handling for SimplifyCFG

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 14 22:48:35 PDT 2019


skatkov created this revision.
skatkov added reviewers: chandlerc, fedor.sergeev, leonardchan, philip.pfaffe.
Herald added a subscriber: javed.absar.

This patch enables passing options to SimplifyCFGPass via the passes pipeline.


https://reviews.llvm.org/D60675

Files:
  lib/Passes/PassBuilder.cpp
  lib/Passes/PassRegistry.def
  test/Transforms/SimplifyCFG/ARM/switch-to-lookup-table.ll
  test/Transforms/SimplifyCFG/CoveredLookupTable.ll
  test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll
  test/Transforms/SimplifyCFG/X86/disable-lookup-table.ll
  test/Transforms/SimplifyCFG/X86/switch-covered-bug.ll
  test/Transforms/SimplifyCFG/X86/switch-table-bug.ll
  test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
  test/Transforms/SimplifyCFG/branch-fold-threshold.ll
  test/Transforms/SimplifyCFG/multiple-phis.ll
  test/Transforms/SimplifyCFG/no-md-sink.ll
  test/Transforms/SimplifyCFG/preserve-llvm-loop-metadata.ll
  test/Transforms/SimplifyCFG/rangereduce.ll
  test/Transforms/SimplifyCFG/sink-common-code.ll
  test/Transforms/SimplifyCFG/switch_undef.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60675.195095.patch
Type: text/x-patch
Size: 12377 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190415/f3522678/attachment.bin>


More information about the llvm-commits mailing list