Use opt -passes=<name> instead of opt -name
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Mon, 7 Nov 2022 09:46:57 +0000 (10:46 +0100)
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Tue, 8 Nov 2022 11:15:42 +0000 (12:15 +0100)
commitac696ac4530fb3df626195e94e83649bf7114754
tree431c2ad0148627dc423e4a05ada0183af54ebcc9
parent5f9a82683dc13a09bdd55d88dde981552cda4ce7
Use opt -passes=<name> instead of opt -name

Updated the RUN line in several test cases to use the new PM syntax
  opt -passes=<pipeline>
instead of the deprecated syntax
  opt -pass1 -pass2
59 files changed:
llvm/docs/Bugpoint.rst
llvm/test/CodeGen/X86/mmx-bitcast-fold.ll
llvm/test/DebugInfo/Generic/dbg-value-lower-linenos.ll
llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-1.ll
llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-2.ll
llvm/test/DebugInfo/Generic/mem2reg-promote-alloca-3.ll
llvm/test/DebugInfo/Generic/pr40628.ll
llvm/test/DebugInfo/X86/mem2reg_fp80.ll
llvm/test/DebugInfo/salvage-cast-debug-info.ll
llvm/test/DebugInfo/salvage-overflow.ll
llvm/test/Feature/OperandBundles/special-state.ll
llvm/test/Other/debugcounter-earlycse.ll
llvm/test/Other/invariant.group.ll
llvm/test/Transforms/CanonicalizeFreezeInLoops/phis.ll
llvm/test/Transforms/EarlyCSE/AMDGPU/intrinsics.ll
llvm/test/Transforms/EarlyCSE/DirectX/create_handle.ll
llvm/test/Transforms/EarlyCSE/atan.ll
llvm/test/Transforms/EarlyCSE/atomics.ll
llvm/test/Transforms/EarlyCSE/basic.ll
llvm/test/Transforms/EarlyCSE/commute.ll
llvm/test/Transforms/EarlyCSE/conditional.ll
llvm/test/Transforms/EarlyCSE/const-speculation.ll
llvm/test/Transforms/EarlyCSE/debug-info-undef.ll
llvm/test/Transforms/EarlyCSE/debuginfo-dce.ll
llvm/test/Transforms/EarlyCSE/defaultfp-strictfp.ll
llvm/test/Transforms/EarlyCSE/ebstrict-strictfp.ll
llvm/test/Transforms/EarlyCSE/edge.ll
llvm/test/Transforms/EarlyCSE/fence.ll
llvm/test/Transforms/EarlyCSE/flags.ll
llvm/test/Transforms/EarlyCSE/floatingpoint.ll
llvm/test/Transforms/EarlyCSE/gc_relocate.ll
llvm/test/Transforms/EarlyCSE/guards.ll
llvm/test/Transforms/EarlyCSE/instsimplify-dom.ll
llvm/test/Transforms/EarlyCSE/int_sideeffect.ll
llvm/test/Transforms/EarlyCSE/invariant-loads.ll
llvm/test/Transforms/EarlyCSE/invariant.start.ll
llvm/test/Transforms/EarlyCSE/masked-intrinsics-unequal-masks.ll
llvm/test/Transforms/EarlyCSE/masked-intrinsics.ll
llvm/test/Transforms/EarlyCSE/math-1.ll
llvm/test/Transforms/EarlyCSE/math-2.ll
llvm/test/Transforms/EarlyCSE/memoryssa.ll
llvm/test/Transforms/EarlyCSE/mixed-strictfp.ll
llvm/test/Transforms/EarlyCSE/noalias-scope-decl.ll
llvm/test/Transforms/EarlyCSE/nonmixed-strictfp.ll
llvm/test/Transforms/EarlyCSE/opaque-ptr.ll
llvm/test/Transforms/EarlyCSE/phi.ll
llvm/test/Transforms/EarlyCSE/readnone-mayunwind.ll
llvm/test/Transforms/EarlyCSE/round-dyn-strictfp.ll
llvm/test/Transforms/EarlyCSE/tfpropagation.ll
llvm/test/Transforms/EarlyCSE/writeonly.ll
llvm/test/Transforms/InstCombine/invariant.group.ll
llvm/test/Transforms/InstNamer/basic.ll
llvm/test/Transforms/InstSimplify/ConstProp/allones.ll
llvm/test/Transforms/InstSimplify/ConstProp/rint.ll
llvm/test/Transforms/InstSimplify/ConstProp/round.ll
llvm/test/Transforms/InstSimplify/ConstProp/trunc.ll
llvm/test/Transforms/InstSimplify/ConstProp/vscale-getelementptr.ll
llvm/test/Transforms/InstSimplify/ConstProp/vscale-shufflevector-inseltpoison.ll
llvm/test/Transforms/InstSimplify/ConstProp/vscale-shufflevector.ll