Reland "Load pass plugins during option processing, so that plugin options are regist...
authorWael Yehia <wyehia@ca.ibm.com>
Mon, 14 Mar 2022 02:16:21 +0000 (22:16 -0400)
committerWael Yehia <wyehia@ca.ibm.com>
Fri, 18 Mar 2022 03:27:53 +0000 (03:27 +0000)
commitc80198b3d39dc8547ac9a16f3a7221e1c64b9741
treec8e83474e12fdba43c6d7abc32b138ffed4d24b1
parentaee3684995f90af44fd5f79ddbbdb46c4b7b3566
Reland "Load pass plugins during option processing, so that plugin options are registered and live."

Fix Polly failures.

Reviewed By: mehdi_amini, Meinersbur

Differential Revision: https://reviews.llvm.org/D121566
33 files changed:
llvm/test/Feature/load_extension.ll
llvm/tools/opt/NewPMDriver.cpp
llvm/tools/opt/NewPMDriver.h
llvm/tools/opt/opt.cpp
polly/test/CodeGen/multiple-codegens.ll
polly/test/DeLICM/map_memset_zero.ll
polly/test/DeLICM/pass_existence.ll
polly/test/DeadCodeElimination/computeout.ll
polly/test/DeadCodeElimination/dead_iteration_elimination.ll
polly/test/ForwardOpTree/forward_load.ll
polly/test/PruneUnprofitable/prune_only_scalardeps.ll
polly/test/ScheduleOptimizer/computeout.ll
polly/test/ScheduleOptimizer/focaltech_test_detail_threshold-7bc17e.ll
polly/test/Simplify/dead_access_load.ll
polly/test/Simplify/dead_access_phi.ll
polly/test/Simplify/dead_access_value.ll
polly/test/Simplify/dead_instruction.ll
polly/test/Simplify/notdead_region_exitphi.ll
polly/test/Simplify/notdead_region_innerphi.ll
polly/test/Simplify/notredundant_region_middle.ll
polly/test/Simplify/notredundant_synthesizable_unknownit.ll
polly/test/Simplify/overwritten.ll
polly/test/Simplify/overwritten_3store.ll
polly/test/Simplify/overwritten_loadbetween.ll
polly/test/Simplify/pass_existence.ll
polly/test/Simplify/phi_in_regionstmt.ll
polly/test/Simplify/redundant.ll
polly/test/Simplify/redundant_differentindex.ll
polly/test/Simplify/redundant_storebetween.ll
polly/test/Support/Plugins.ll
polly/test/Support/defaultpipelines.ll
polly/test/Support/pipelineposition.ll
polly/test/lit.site.cfg.in