Changes

Summary

  1. [test] Use -passes syntax when specifying pipeline in some more tests (details)
  2. [test] Use -passes in lit tests for the UpdateTestChecks tool (details)
  3. [test] Use -passes syntax in Feature/OperandBundles lit tests (details)
  4. [ARM] implement support for ALU/LDR PC-relative group relocations (details)
  5. Reland [SCEV] Fix and validate ValueExprMap/ExprValueMap consistency (details)
Commit 8ebb3eac02a926ffa4298c12834c57aefb2e8579 by bjorn.a.pettersson
[test] Use -passes syntax when specifying pipeline in some more tests

The legacy PM is deprecated, so update a bunch of lit tests running
opt to use the new PM syntax when specifying the pipeline.
In this patch focus has been put on test cases for ConstantMerge,
ConstraintElimination, CorrelatedValuePropagation, GlobalDCE,
GlobalOpt, SCCP, TailCallElim and PredicateInfo.

Differential Revision: https://reviews.llvm.org/D114516
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-base-pointer-call.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-addr-taken.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2002-07-17-CastRef.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/invariant.ll
The file was modifiedllvm/test/Transforms/TailCallElim/reorder_load.ll
The file was modifiedllvm/test/Transforms/SCCP/range-and-ip.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2007-05-13-Crash.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/preallocated.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/dom.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/sdiv.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/phi-common-val.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2009-11-16-MallocSingleStoreToGlobalVar.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/compiler-used.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/tls.ll
The file was modifiedllvm/test/Transforms/SCCP/dont-zap-return.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/malloc-promote-1-no-null-opt.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/alloca.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-phi.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-bigint.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/sub-nuw.ll
The file was modifiedllvm/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll
The file was modifiedllvm/test/Transforms/SCCP/overdefined-div.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/deadfunction.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/ne.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/int_sideeffect.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/geps-pointers-to-arrays.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/sge.ll
The file was modifiedllvm/test/Transforms/SCCP/pr52253.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-relative-pointers-bad.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2009-03-05-dbg.ll
The file was modifiedllvm/test/Transforms/SCCP/intrinsics.ll
The file was modifiedllvm/test/Transforms/SCCP/conditions-ranges.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/basictest.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/eq.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/global_ctors.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2010-02-25-MallocPromote.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/deadglobal-2.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/invariant.group.ll
The file was modifiedllvm/test/Transforms/SCCP/pr45185-range-predinfo.ll
The file was modifiedllvm/test/Transforms/SCCP/switch-undef-constantfoldterminator.ll
The file was modifiedllvm/test/Transforms/SCCP/2008-01-27-UndefCorrelate.ll
The file was modifiedllvm/test/Transforms/SCCP/phi-cycle.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/guards.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/ctor-list-opt.ll
The file was modifiedllvm/test/Transforms/TailCallElim/notail.ll
The file was modifiedllvm/test/Transforms/SCCP/2003-08-26-InvokeHandling.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/unnamed-addr.ll
The file was modifiedllvm/test/Transforms/SCCP/conditions-iter-order.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2009-02-15-ResolveAlias.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/fastcc.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/alias-resolve.ll
The file was modifiedllvm/test/Transforms/SCCP/2009-09-24-byval-ptr.ll
The file was modifiedllvm/test/Transforms/SCCP/pthreads.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2010-02-26-MallocSROA.ll
The file was modifiedllvm/test/Transforms/ConstantMerge/2011-01-15-EitherOrder.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/shl.ll
The file was modifiedllvm/test/Transforms/SCCP/openmp_parallel_for.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/pr35807.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-select.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/GSROA-section.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/global-ifunc.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/externally-initialized.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/phi-select.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/deaddeclaration.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-1.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/storepointer-no-null-opt.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/array-elem-refs.ll
The file was modifiedllvm/test/Transforms/SCCP/multiple_callbacks.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2008-04-26-SROA-Global-Align.ll
The file was modifiedllvm/test/Transforms/SCCP/global.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/loops.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/deadglobal-diarglist-use.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2008-12-16-HeapSRACrash.ll
The file was modifiedllvm/test/Transforms/SCCP/2008-06-09-WeakProp.ll
The file was modifiedllvm/test/Transforms/SCCP/ip-ranges-phis.ll
The file was modifiedllvm/test/Transforms/SCCP/float-nan-simplification.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-cycles.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2009-02-17-AliasUsesAliasee.ll
The file was modifiedllvm/test/Transforms/TailCallElim/EraseBB.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/or.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2002-09-12-Redeletion.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2010-10-19-WeakOdr.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/testandor.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-1-no-null-opt.ll
The file was modifiedllvm/test/Transforms/SCCP/remove-call-inst.ll
The file was modifiedllvm/test/Transforms/SCCP/indirectbr.ll
The file was modifiedllvm/test/Transforms/TailCallElim/basic.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-basictest4.ll
The file was modifiedllvm/test/Transforms/SCCP/global-alias-constprop.ll
The file was modifiedllvm/test/Transforms/SCCP/loadtest2.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/null-check-not-use-pr35760.ll
The file was modifiedllvm/test/Transforms/SCCP/naked-return.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-novfe.ll
The file was modifiedllvm/test/Transforms/SCCP/range-and.ll
The file was modifiedllvm/test/Transforms/SCCP/select.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/loops-bottom-tested-base.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/atexit.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-predinfo-order.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/merge-range-and-undef.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/memcpy.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2008-01-13-OutOfRangeSROA.ll
The file was modifiedllvm/test/Transforms/TailCallElim/deopt-bundle.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/null-check-global-value.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/evaluate-bitcast-2.ll
The file was modifiedllvm/test/Transforms/SCCP/2006-12-04-PackedType.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/globalsra-multigep.ll
The file was modifiedllvm/test/Transforms/ConstantMerge/2002-09-23-CPR-Update.ll
The file was modifiedllvm/test/Transforms/SCCP/float-phis.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-2.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/metadata.ll
The file was modifiedllvm/test/Transforms/SCCP/thread_local_acs.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/load-store-global-no-null-opt.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/add.ll
The file was modifiedllvm/test/Transforms/SCCP/2009-05-27-VectorOperandZero.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/call-with-ptrtoint.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2021-08-03-StoreOnceLoadMultiCasts.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/shrink-global-to-bool-check-debug.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/loops-bottom-tested-pointer-cmps.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/add-nuw.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/localize-constexpr-debuginfo.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/and.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/pr33686.ll
The file was modifiedllvm/test/Other/debugcounter-predicateinfo.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/abs.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/crash.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/load-store-global.ll
The file was modifiedllvm/test/Transforms/SCCP/atomic-load-store.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/ule.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2008-01-29-VolatileGlobal.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-branch-unresolved-undef.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2011-04-09-EmptyGlobalCtors.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/globalsra-unknown-index.ll
The file was modifiedllvm/test/Transforms/SCCP/ranges-sext.ll
The file was modifiedllvm/test/Transforms/SCCP/retvalue-undef.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/externally_available.ll
The file was modifiedllvm/test/Transforms/SCCP/definite-initializer.ll
The file was modifiedllvm/test/Transforms/TailCallElim/debugloc.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/pointercast.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/gep-arithmetic.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/geps.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/ordering.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-basictest3.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/coldcc_stress_test.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-bigint2.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/alias-used-section.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-basic.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-basictest2.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/deadglobal.ll
The file was modifiedllvm/test/Transforms/SCCP/clang-arc-rv.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/memset-null.ll
The file was modifiedllvm/test/Transforms/TailCallElim/2010-06-26-MultipleReturnValues.ll
The file was modifiedllvm/test/Transforms/SCCP/2008-04-22-multiple-ret-sccp.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/localize-constexpr.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/MallocSROA-section-no-null-opt.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2006-07-07-InlineAsmCrash.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/storepointer.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/constantfold-initializers.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2009-01-05-DeadAliases.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/undef-init.ll
The file was modifiedllvm/test/Transforms/TailCallElim/setjmp.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/malloc-promote-3.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/iterate.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-bigarray.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2007-06-04-PackedStruct.ll
The file was modifiedllvm/test/Transforms/SCCP/vector-bitcast.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-derived-call.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/ctor-list-opt-constexpr.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/overflow_predicate.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/memset.ll
The file was modifiedllvm/test/Transforms/SCCP/logical-nuke.ll
The file was modifiedllvm/test/Transforms/SCCP/latticeval-invalidate.ll
The file was modifiedllvm/test/Transforms/SCCP/replace-dereferenceable-ptr-with-undereferenceable.ll
The file was modifiedllvm/test/Transforms/SCCP/binaryops-constexprs.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/wrapping-math.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/alias-used-address-space.ll
The file was modifiedllvm/test/Transforms/SCCP/comdat-ipo.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/pr33456.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/alias-used.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/malloc-promote-2-no-null-opt.ll
The file was modifiedllvm/test/Transforms/SCCP/pr49582-iterator-invalidation.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/add.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/assume.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/new-promote.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/mixed.ll
The file was modifiedllvm/test/Transforms/SCCP/pr35357.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/ashr.ll
The file was modifiedllvm/test/Transforms/SCCP/2008-05-23-UndefCallFold.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/musttail_cc.ll
The file was modifiedllvm/test/Transforms/SCCP/sccptest.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/atomic.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/large-int-crash.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/vector-compares.ll
The file was modifiedllvm/test/Transforms/SCCP/2009-01-14-IPSCCP-Invoke.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/amdgcn-ctor-alloca.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/malloc-promote-4.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2002-07-17-ConstantRef.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/comdats.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2005-06-15-LocalizeConstExprCrash.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/dead-store-status.ll
The file was modifiedllvm/test/Transforms/SCCP/ip-add-range-to-call.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2008-07-17-addrspace.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-ipsccp4.ll
The file was modifiedllvm/test/Transforms/ConstantMerge/dont-merge.ll
The file was modifiedllvm/test/Transforms/SCCP/crash.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/branch-on-same-cond.ll
The file was modifiedllvm/test/Transforms/ConstantMerge/merge-dbg.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-phi.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/globalsra-partial.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/pr21191.ll
The file was modifiedllvm/test/Transforms/SCCP/return-zapped.ll
The file was modifiedllvm/test/Transforms/SCCP/2002-08-30-GetElementPtrTest.ll
The file was modifiedllvm/test/Transforms/SCCP/ip-ranges-binaryops.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/and.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-ipsccp3.ll
The file was modifiedllvm/test/Transforms/SCCP/struct-arg-resolve-undefs.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-relative-pointers.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-clear-returned.ll
The file was modifiedllvm/test/Transforms/ConstantMerge/align.ll
The file was modifiedllvm/test/Transforms/SCCP/ip-ranges-select.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/integer-bool-dwarf.ll
The file was modifiedllvm/test/Transforms/SCCP/2004-12-10-UndefBranchBug.ll
The file was modifiedllvm/test/Transforms/TailCallElim/dup_tail.ll
The file was modifiedllvm/test/Transforms/SCCP/apfloat-basictest.ll
The file was modifiedllvm/test/Transforms/SCCP/atomic.ll
The file was modifiedllvm/test/Transforms/ConstantMerge/unnamed-addr.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll
The file was modifiedllvm/test/Transforms/TailCallElim/tre-multiple-exits.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/vtable-rtti.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/globalsra.ll
The file was modifiedllvm/test/Transforms/SCCP/conditions-ranges-with-undef.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/malloc-promote-2.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/geps-inbounds-precondition.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/geps-precondition-overflow-check.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-phi-one-pred-dead.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/mixed-signed-unsigned-predicates.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/invoke.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2008-12-16-HeapSRACrash-2.ll
The file was modifiedllvm/test/Transforms/SCCP/ubsan_overflow.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/loops-header-tested-base.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/pr33457.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-visibility-pre-lto.ll
The file was modifiedllvm/test/Transforms/SCCP/metadata.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/preserve-comdats.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2008-01-03-Crash.ll
The file was modifiedllvm/test/Transforms/SCCP/widening.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/i128.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-phi-no-null-opt.ll
The file was modifiedllvm/test/Transforms/SCCP/ub-shift.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/blockaddress.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/ctor-list-opt-inbounds.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/storepointer-compare-no-null-opt.ll
The file was modifiedllvm/test/Transforms/SCCP/arg-type-mismatch.ll
The file was modifiedllvm/test/Transforms/SCCP/2002-05-20-MissedIncomingValue.ll
The file was modifiedllvm/test/Transforms/TailCallElim/ackermann.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/loops-header-tested-pointer-cmps.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-array.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/large-system-growth.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/crash-2.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/const-return-status.ll
The file was modifiedllvm/test/Transforms/SCCP/int-phis.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/diamond.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/externally-initialized-global-ctr.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-range-crashes.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/trivialstore.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/unreachable.ll
The file was modifiedllvm/test/Transforms/TailCallElim/accum_recursion.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-xor.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/edge.ll
The file was modifiedllvm/test/Transforms/SCCP/return-argument.ll
The file was modifiedllvm/test/Transforms/SCCP/PR16052.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/shrink-address-to-bool.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2009-11-16-BrokenPerformHeapAllocSRoA.ll
The file was modifiedllvm/test/Transforms/SCCP/2006-10-23-IPSCCP-Crash.ll
The file was modifiedllvm/test/Transforms/SCCP/loadtest.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/sub.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/conflict.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/malloc-promote-1.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/mul.ll
The file was modifiedllvm/test/Transforms/SCCP/2006-12-19-UndefBug.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/global-demotion.ll
The file was modifiedllvm/test/Transforms/SCCP/fp-bc-icmp-const-fold.ll
The file was modifiedllvm/test/Transforms/SCCP/overdefined-ext.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/naked_functions.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/deopt.ll
The file was modifiedllvm/test/Transforms/SCCP/ipsccp-ssa-copy-nested-conds.ll
The file was modifiedllvm/test/Transforms/SCCP/musttail-call.ll
The file was modifiedllvm/test/Transforms/TailCallElim/tre-noncapturing-alloca-calls.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2007-11-09-GEP-GEP-Crash.ll
The file was modifiedllvm/test/Transforms/SCCP/return-constants.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/loops-header-tested-pointer-iv.ll
The file was modifiedllvm/test/Transforms/SCCP/arg-count-mismatch.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/urem.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/non-null.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2009-03-06-Anonymous.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/const-return-status-atomic.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/overflows.ll
The file was modifiedllvm/test/Transforms/SCCP/switch.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2005-09-27-Crash.ll
The file was modifiedllvm/test/Transforms/SCCP/resolvedundefsin-tracked-fn.ll
The file was modifiedllvm/test/Transforms/SCCP/assume.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/decompose-with-temporary-indices.ll
The file was modifiedllvm/test/Transforms/SCCP/2002-05-02-MissSecondInst.ll
The file was modifiedllvm/test/Transforms/SCCP/predicateinfo-cond.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/basic.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/sext.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/sub.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/select.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/indirectbr.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/crash.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-derived-pointer-call.ll
The file was modifiedllvm/test/Transforms/SCCP/ipscp-drop-argmemonly.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/globalsra-align.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/cleanup-pointer-root-users.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/externally-initialized-aggregate.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/heap-sra-2-no-null-opt.ll
The file was modifiedllvm/test/Transforms/SCCP/constant-struct.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/pointer.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/range.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/empty-constraint.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/storepointer-compare.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-load.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/uge.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/srem.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/evaluate-bitcast-4.ll
The file was modifiedllvm/test/Transforms/SCCP/ip-ranges-sext.ll
The file was modifiedllvm/test/Transforms/SCCP/constant-range-struct.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/geps-pointers-to-structs.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2007-04-05-Crash.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/available_externally_global_ctors.ll
The file was modifiedllvm/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2003-07-01-SelfReference.ll
The file was modifiedllvm/test/Transforms/SCCP/switch-constantfold-crash.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2009-01-13-phi-user.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2009-03-07-PromotePtrToBool.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/icmp.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2021-08-02-CastStoreOnceP2I.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/minmaxabs.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-visibility-post-lto.ll
The file was modifiedllvm/test/Transforms/TailCallElim/tre-byval-parameter.ll
The file was modifiedllvm/test/Transforms/SCCP/PR26044.ll
The file was modifiedllvm/test/Transforms/TailCallElim/tre-byval-parameter-2.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/SROA-section.ll
The file was modifiedllvm/test/Transforms/SCCP/PR43857.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/profmd.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/store-struct-element.ll
The file was modifiedllvm/test/Transforms/SCCP/preserve-analysis.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/invariant-nodatalayout.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/static-const-bitcast.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/zext.ll
The file was modifiedllvm/test/Transforms/SCCP/user-with-multiple-uses.ll
The file was modifiedllvm/test/Transforms/SCCP/switch-multiple-undef.ll
The file was modifiedllvm/test/Transforms/SCCP/binaryops-range-special-cases.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/ugt-ule.ll
The file was modifiedllvm/test/Transforms/SCCP/undef-resolve.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/null-check-is-use-pr35760.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/unnamed-types.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/evaluate-bitcast-3.ll
The file was modifiedllvm/test/Transforms/SCCP/phis.ll
The file was modifiedllvm/test/Transforms/ConstantMerge/2003-10-28-MergeExternalConstants.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-ipsccp2.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/virtual-functions-base-call.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-basictest.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/zeroinitializer-gep-load.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2012-05-11-blockaddress.ll
The file was modifiedllvm/test/Transforms/SCCP/pr27712.ll
The file was modifiedllvm/test/Transforms/SCCP/ip-constant-ranges.ll
The file was modifiedllvm/test/Transforms/SCCP/bitcast.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/2010-09-02-Trunc.ll
The file was modifiedllvm/test/Transforms/Util/PredicateInfo/condprop.ll
The file was modifiedllvm/test/Transforms/SCCP/load-store-range.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/MallocSROA-section.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/PowerPC/coldcc_coldsites.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/min-max.ll
The file was modifiedllvm/test/Transforms/SCCP/ip-ranges-casts.ll
The file was modifiedllvm/test/Transforms/SCCP/domtree-update.ll
The file was modifiedllvm/test/Transforms/SCCP/solve-after-each-resolving-undefs-for-function.ll
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/udiv.ll
The file was modifiedllvm/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll
The file was modifiedllvm/test/Transforms/SCCP/deadarg.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/assumes.ll
The file was modifiedllvm/test/Transforms/TailCallElim/dont_reorder_load.ll
The file was modifiedllvm/test/Transforms/SCCP/apint-ipsccp1.ll
The file was modifiedllvm/test/Transforms/GlobalOpt/2006-11-01-ShrinkGlobalPhiCrash.ll
The file was modifiedllvm/test/Transforms/TailCallElim/inf-recursion.ll
Commit 407600604b59ff9970894194eeec62580437a47a by bjorn.a.pettersson
[test] Use -passes in lit tests for the UpdateTestChecks tool

The UpdateTestChecks tool itself does not care about which pass
manager that is used in the opt invocation. So the lit tests that
are verifying the behavior of the UpdateTestChecks tool is updated
to use the new-PM syntax (-passes=) when specifying the pass pipeline
in the test cases that are used for verifying the UpdateTestChecks
tool.

Differential Revision: https://reviews.llvm.org/D114517
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.generated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/pre-process.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/check_attrs.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.generated.globals.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/basic.ll.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/basic.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/sometimes_deleted_function.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.nogenerated.globals.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/check_attrs.ll.funcattrs.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/basic.ll.funcsig.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/sometimes_deleted_function.ll.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/function_name.ll
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/generated_funcs.ll.nogenerated.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/pre-process.ll.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/check_attrs.ll.plain.expected
The file was modifiedllvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/function_name.ll.expected
Commit 00cf717f51d76ffa62b2525a4893e20e23750e21 by bjorn.a.pettersson
[test] Use -passes syntax in Feature/OperandBundles lit tests

Simply use the new PM syntax instead of the deprecated legacy PM
syntax when specifying the opt pipeline in some regression tests.

Differential Revision: https://reviews.llvm.org/D114518
The file was modifiedllvm/test/Feature/OperandBundles/dse.ll
The file was modifiedllvm/test/Feature/OperandBundles/adce.ll
The file was modifiedllvm/test/Feature/OperandBundles/early-cse.ll
The file was modifiedllvm/test/Feature/OperandBundles/basic-aa-argmemonly.ll
Commit da66263b6e505a4c605efbe8d68c3b09ad3606a4 by ardb
[ARM] implement support for ALU/LDR PC-relative group relocations

Currently, LLD does not support the complete set of ARM group relocations.
Given that I intend to start using these in the Linux kernel [0], let's add
support for these.

This implements the group processing as documented in the ELF psABI. Notably,
this means support is dropped for very far symbol references that also carry a
small component, where the immediate is rotated in such a way that only part of
it wraps to the other end of the 32-bit word. To me, it seems unlikely that
this is something anyone could be relying on, but of course I could be wrong.

[0] https://lore.kernel.org/r/20211122092816.2865873-8-ardb@kernel.org/

Reviewed By: peter.smith, MaskRay

Differential Revision: https://reviews.llvm.org/D114172
The file was addedlld/test/ELF/arm-adr-err-long.s
The file was modifiedlld/test/ELF/arm-adr.s
The file was modifiedlld/ELF/Arch/ARM.cpp
The file was modifiedlld/test/ELF/arm-adr-err.s
The file was modifiedlld/test/ELF/arm-adr-long.s
Commit 2b160e95c89f28a30e2481e6131073659d866a8c by nikita.ppv
Reland [SCEV] Fix and validate ValueExprMap/ExprValueMap consistency

Relative to the previous landing attempt, this introduces an additional
flag on forgetMemoizedResults() to not remove SCEVUnknown phis from
the value map. The invalidation after BECount calculation wants to
leave these alone and skips them in its own use-def walk, but we can
still end up invalidating them via forgetMemoizedResults() if there
is another IR value with the same SCEV. This is intended as a temporary
workaround only, and the need for this should go away once the
getBackedgeTakenInfo() invalidation is refactored in the spirit of
D114263.

-----

This adds validation for consistency of ValueExprMap and
ExprValueMap, and fixes identified issues:

* Addrec construction directly wrote to ValueExprMap in a few places,
  without updating ExprValueMap. Add a helper to ensures they stay
  consistent. The adjustment in forgetSymbolicName() explicitly
  drops the old value from the map, so that we don't rely on it
  being overwritten.
* forgetMemoizedResultsImpl() was dropping the SCEV from
  ExprValueMap, but not dropping the corresponding entries from
  ValueExprMap.

Differential Revision: https://reviews.llvm.org/D113349
The file was modifiedllvm/test/CodeGen/PowerPC/more-dq-form-prepare.ll
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was addedllvm/test/Analysis/ScalarEvolution/becount-invalidation.ll
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolution.h
The file was addedllvm/test/Transforms/LoopStrengthReduce/X86/nested-ptr-addrec.ll