[all-commits] [llvm/llvm-project] 211cf8: [test] Use -passes in more Transforms tests

Björn Pettersson via All-commits all-commits at lists.llvm.org
Fri Oct 21 08:03:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 211cf8a384ebb29787367c8fd5858e2a5ed3c10f
      https://github.com/llvm/llvm-project/commit/211cf8a384ebb29787367c8fd5858e2a5ed3c10f
  Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2022-10-21 (Fri, 21 Oct 2022)

  Changed paths:
    M llvm/test/Transforms/DeadStoreElimination/debuginfo.ll
    M llvm/test/Transforms/DeadStoreElimination/libcalls.ll
    M llvm/test/Transforms/DeadStoreElimination/memcpy-complete-overwrite.ll
    M llvm/test/Transforms/DeadStoreElimination/memset-and-memcpy.ll
    M llvm/test/Transforms/DeadStoreElimination/noop-stores.ll
    M llvm/test/Transforms/InstCombine/PR30597.ll
    M llvm/test/Transforms/InstCombine/PR37526.ll
    M llvm/test/Transforms/InstCombine/alloca-cast-debuginfo.ll
    M llvm/test/Transforms/InstCombine/assume-inseltpoison.ll
    M llvm/test/Transforms/InstCombine/assume.ll
    M llvm/test/Transforms/InstCombine/branch.ll
    M llvm/test/Transforms/InstCombine/builtin-object-size-strdup-family.ll
    M llvm/test/Transforms/InstCombine/call-guard.ll
    M llvm/test/Transforms/InstCombine/cast-mul-select.ll
    M llvm/test/Transforms/InstCombine/debuginfo-skip.ll
    M llvm/test/Transforms/InstCombine/debuginfo-variables.ll
    M llvm/test/Transforms/InstCombine/debuginfo.ll
    M llvm/test/Transforms/InstCombine/debuginfo_add.ll
    M llvm/test/Transforms/InstCombine/do-not-clone-dbg-declare.ll
    M llvm/test/Transforms/LoopReroll/basic.ll
    M llvm/test/Transforms/LoopReroll/basic32iters.ll
    M llvm/test/Transforms/LoopReroll/complex_reroll.ll
    M llvm/test/Transforms/LoopReroll/external_use.ll
    M llvm/test/Transforms/LoopReroll/extra_instr.ll
    M llvm/test/Transforms/LoopReroll/indvar_with_ext.ll
    M llvm/test/Transforms/LoopReroll/negative.ll
    M llvm/test/Transforms/LoopReroll/nonconst_lb.ll
    M llvm/test/Transforms/LoopReroll/ptrindvar.ll
    M llvm/test/Transforms/LoopReroll/reduction.ll
    M llvm/test/Transforms/LoopReroll/reroll_with_dbg.ll
    M llvm/test/Transforms/Mem2Reg/opaque-ptr.ll
    M llvm/test/Transforms/MemCpyOpt/2008-02-24-MultipleUseofSRet.ll
    M llvm/test/Transforms/MemCpyOpt/memcpy-to-memset-with-lifetimes.ll
    M llvm/test/Transforms/MemCpyOpt/memcpy.ll
    M llvm/test/Transforms/MemCpyOpt/pr29105.ll
    M llvm/test/Transforms/Reassociate/2002-05-15-AgressiveSubMove.ll
    M llvm/test/Transforms/Reassociate/2006-04-27-ReassociateVector.ll
    M llvm/test/Transforms/Reassociate/2012-05-08-UndefLeak.ll
    M llvm/test/Transforms/Reassociate/2019-08-22-FNegAssert.ll
    M llvm/test/Transforms/Reassociate/absorption.ll
    M llvm/test/Transforms/Reassociate/add-like-or.ll
    M llvm/test/Transforms/Reassociate/add_across_block_crash.ll
    M llvm/test/Transforms/Reassociate/binop-identity.ll
    M llvm/test/Transforms/Reassociate/callbr.ll
    M llvm/test/Transforms/Reassociate/commute.ll
    M llvm/test/Transforms/Reassociate/factorize-again.ll
    M llvm/test/Transforms/Reassociate/fast-AgressiveSubMove.ll
    M llvm/test/Transforms/Reassociate/fast-ReassociateVector.ll
    M llvm/test/Transforms/Reassociate/fast-basictest.ll
    M llvm/test/Transforms/Reassociate/fast-fp-commute.ll
    M llvm/test/Transforms/Reassociate/fast-multistep.ll
    M llvm/test/Transforms/Reassociate/fp-commute.ll
    M llvm/test/Transforms/Reassociate/fp-expr.ll
    M llvm/test/Transforms/Reassociate/keep-debug-loc.ll
    M llvm/test/Transforms/Reassociate/load-combine-like-or.ll
    M llvm/test/Transforms/Reassociate/looptest.ll
    M llvm/test/Transforms/Reassociate/matching-binops.ll
    M llvm/test/Transforms/Reassociate/mulfactor.ll
    M llvm/test/Transforms/Reassociate/multistep.ll
    M llvm/test/Transforms/Reassociate/negation.ll
    M llvm/test/Transforms/Reassociate/no-op.ll
    M llvm/test/Transforms/Reassociate/optional-flags.ll
    M llvm/test/Transforms/Reassociate/pr21205.ll
    M llvm/test/Transforms/Reassociate/pr28367.ll
    M llvm/test/Transforms/Reassociate/pr42349.ll
    M llvm/test/Transforms/Reassociate/propagate-flags.ll
    M llvm/test/Transforms/Reassociate/reassoc-intermediate-fnegs.ll
    M llvm/test/Transforms/Reassociate/reassociate_dbgvalue_discard.ll
    M llvm/test/Transforms/Reassociate/reassociate_salvages_debug_info.ll
    M llvm/test/Transforms/Reassociate/repeats.ll
    M llvm/test/Transforms/Reassociate/secondary.ll
    M llvm/test/Transforms/Reassociate/undef_intrinsics_when_deleting_instructions.ll
    M llvm/test/Transforms/Reassociate/xor_reassoc.ll
    M llvm/test/Transforms/Sink/badloadsink.ll
    M llvm/test/Transforms/Sink/basic.ll
    M llvm/test/Transforms/Sink/call.ll
    M llvm/test/Transforms/Sink/catchswitch.ll
    M llvm/test/Transforms/Sink/convergent.ll
    M llvm/test/Transforms/Sink/dead-user.ll
    M llvm/test/Transforms/Sink/fence.ll
    M llvm/test/Transforms/Sink/invariant-load.ll
    M llvm/test/Transforms/Sink/landingpad.ll
    M llvm/test/Transforms/Util/Debugify/loc-only-original-mode.ll
    M llvm/test/Transforms/Util/add-TLI-mappings.ll
    M llvm/test/Transforms/Util/annotation-remarks-dbg-info.ll
    M llvm/test/Transforms/Util/annotation-remarks.ll
    M llvm/test/Transforms/Util/annotation2metadata.ll
    M llvm/test/Transforms/Util/combine-alias-scope-metadata.ll
    M llvm/test/Transforms/Util/dbg-call-bitcast.ll
    M llvm/test/Transforms/Util/dbg-user-of-aext.ll
    M llvm/test/Transforms/Util/libcalls-fast-math-inf-loop.ll
    M llvm/test/Transforms/Util/libcalls-shrinkwrap-double.ll
    M llvm/test/Transforms/Util/libcalls-shrinkwrap-float.ll
    M llvm/test/Transforms/Util/libcalls-shrinkwrap-long-double.ll
    M llvm/test/Transforms/Util/salvage-debuginfo.ll
    M llvm/test/Transforms/Util/simplify-dbg-declare-load.ll
    M llvm/test/Transforms/Util/store-first-op.ll
    M llvm/test/Transforms/Util/strip-gc-relocates.ll
    M llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-containingtypes.ll
    M llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-cus.ll
    M llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-heapallocsite.ll
    M llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-labels.ll
    M llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-localvars.ll
    M llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-loops.ll
    M llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-subroutinetypes.ll

  Log Message:
  -----------
  [test] Use -passes in more Transforms tests

Another step towards getting rid of dependencies to the legacy
pass manager.

Primary change here is to just do -passes=foo instead of -foo in
simple situations (when running a single transform pass). But also
updated a few test running multiple passes.

Also removed some "duplicated" RUN lines in a few tests that where
using both -foo and -passes=foo syntax. No need to do the same kind
of testing twice.




More information about the All-commits mailing list