[PATCH] D39407: [(new) Pass Manager] instantiate SimplifyCFG with the same options as the old PM

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 29 10:41:30 PDT 2017


spatel created this revision.
Herald added a subscriber: mcrosier.

The old PM sets the options of what used to be known as "latesimplifycfg" on the instantiation after the vectorizers have run, so that's what I'm proposing to do here.

FWIW, there's a later SimplifyCFGPass instantiation in both PMs where we do not set the "late" options. I'm not sure if that's intentional or not.


https://reviews.llvm.org/D39407

Files:
  include/llvm/Transforms/Scalar/SimplifyCFG.h
  lib/Passes/PassBuilder.cpp
  test/Transforms/PhaseOrdering/simplifycfg-options.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39407.120752.patch
Type: text/x-patch
Size: 7409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171029/0e2ebaca/attachment.bin>


More information about the llvm-commits mailing list