[all-commits] [llvm/llvm-project] 759b21: Switch tests to use update_llc_test_checks

Matthias Braun via All-commits all-commits at lists.llvm.org
Mon Jun 26 13:51:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 759b21762634b906ff545353deae47dfbfc45c0b
      https://github.com/llvm/llvm-project/commit/759b21762634b906ff545353deae47dfbfc45c0b
  Author: Matthias Braun <matze at braunis.de>
  Date:   2023-06-26 (Mon, 26 Jun 2023)

  Changed paths:
    M llvm/test/CodeGen/ARM/arm-shrink-wrapping.ll
    M llvm/test/CodeGen/PowerPC/BreakableToken-reduced.ll
    M llvm/test/CodeGen/PowerPC/aix-lower-jump-table.ll
    M llvm/test/CodeGen/PowerPC/licm-tocReg.ll
    M llvm/test/CodeGen/X86/callbr-asm-label-addr.ll
    M llvm/test/CodeGen/X86/x86-shrink-wrap-unwind.ll
    M llvm/test/CodeGen/X86/x86-win64-shrink-wrapping.ll

  Log Message:
  -----------
  Switch tests to use update_llc_test_checks

Switch and update some tests to use `update_llc_test_checks` to reduce
clutter in upcoming change.

Differential Revision: https://reviews.llvm.org/D152215


  Commit: 02ba5b8c6b9f0c1ce6df421db5dd5eb307d7d27d
      https://github.com/llvm/llvm-project/commit/02ba5b8c6b9f0c1ce6df421db5dd5eb307d7d27d
  Author: Matthias Braun <matze at braunis.de>
  Date:   2023-06-26 (Mon, 26 Jun 2023)

  Changed paths:
    M llvm/lib/CodeGen/ShrinkWrap.cpp
    M llvm/test/CodeGen/AArch64/branch-relax-cbz.ll
    M llvm/test/CodeGen/AArch64/optimize-cond-branch.ll
    M llvm/test/CodeGen/ARM/arm-shrink-wrapping.ll
    M llvm/test/CodeGen/ARM/machine-cse-cmp.ll
    M llvm/test/CodeGen/ARM/machine-sink-multidef.ll
    M llvm/test/CodeGen/ARM/swifterror.ll
    M llvm/test/CodeGen/PowerPC/BreakableToken-reduced.ll
    M llvm/test/CodeGen/PowerPC/aix-lower-jump-table.ll
    M llvm/test/CodeGen/PowerPC/licm-tocReg.ll
    M llvm/test/CodeGen/PowerPC/p10-spill-creq.ll
    M llvm/test/CodeGen/PowerPC/sms-cpy-1.ll
    M llvm/test/CodeGen/RISCV/half-round-conv-sat.ll
    M llvm/test/CodeGen/RISCV/half-round-conv.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll
    M llvm/test/CodeGen/Thumb2/LowOverheadLoops/fast-fp-loops.ll
    M llvm/test/CodeGen/X86/MachineSink-eflags.ll
    M llvm/test/CodeGen/X86/callbr-asm-label-addr.ll
    M llvm/test/CodeGen/X86/dag-update-nodetomatch.ll
    M llvm/test/CodeGen/X86/fold-pcmpeqd-2.ll
    M llvm/test/CodeGen/X86/fp128-select.ll
    M llvm/test/CodeGen/X86/i386-shrink-wrapping.ll
    M llvm/test/CodeGen/X86/inline-asm-flag-output.ll
    M llvm/test/CodeGen/X86/pr56103.ll
    M llvm/test/CodeGen/X86/test-shrink-bug.ll
    M llvm/test/CodeGen/X86/xchg-nofold.ll
    M llvm/test/Transforms/CodeGenPrepare/AArch64/large-offset-gep.ll

  Log Message:
  -----------
  Ignore load/store until stack address computation

No longer conservatively assume a load/store accesses the stack when we
can prove that we did not compute any stack-relative address up to this
point in the program.

We do this in a cheap not-quite-a-dataflow-analysis: Assume
`NoStackAddressUsed` when all predecessors of a block already guarantee
it. Process blocks in reverse post order to guarantee that except for
loop headers we have processed all predecessors of a block before
processing the block itself. For loops we accept the conservative answer
as they are unlikely to be shrink-wrappable anyway.

Differential Revision: https://reviews.llvm.org/D152213


Compare: https://github.com/llvm/llvm-project/compare/4cdfdb5e7cf8...02ba5b8c6b9f


More information about the All-commits mailing list