[all-commits] [llvm/llvm-project] e8d455: SeparateConstOffsetFromGEP: Add baseline test for ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sun Nov 27 18:08:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8d45508136a17baa787dd4c9fd66add5f5af09b
      https://github.com/llvm/llvm-project/commit/e8d45508136a17baa787dd4c9fd66add5f5af09b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    A llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/split-gep.ll

  Log Message:
  -----------
  SeparateConstOffsetFromGEP: Add baseline test for opaque pointers

This currently emits a pointless bitcast.


  Commit: d1c0092163d277103f1551d4b76b676cad511f44
      https://github.com/llvm/llvm-project/commit/d1c0092163d277103f1551d4b76b676cad511f44
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
    M llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/split-gep.ll

  Log Message:
  -----------
  SeparateConstOffsetFromGEP: Fix creating pointless bitcasts

This was directly creating new BitCastInsts, so under opaque pointers,
would end up producing bitcast from ptr to ptr.


  Commit: 4cbab1e5ff733d3006d4f9542fdfa0c638c3ac20
      https://github.com/llvm/llvm-project/commit/4cbab1e5ff733d3006d4f9542fdfa0c638c3ac20
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/test/Transforms/SeparateConstOffsetFromGEP/AArch64/split-gep.ll
    M llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/split-gep-and-gvn-addrspace-addressing-modes.ll
    M llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep-and-gvn.ll
    M llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll
    M llvm/test/Transforms/SeparateConstOffsetFromGEP/RISCV/split-gep.ll
    M llvm/test/Transforms/SeparateConstOffsetFromGEP/crash-in-unreachable-code.ll
    M llvm/test/Transforms/SeparateConstOffsetFromGEP/pr45371-find-either-reset.ll
    M llvm/test/Transforms/SeparateConstOffsetFromGEP/test-add-sub-separation.ll

  Log Message:
  -----------
  SeparateConstOffsetFromGEP: Update tests to use opaque pointers

NVPTX/split-gep.ll needed a check for a bitcast replaced.


  Commit: 1c6b674473aec642f93d198839cfc8ec556c3a6c
      https://github.com/llvm/llvm-project/commit/1c6b674473aec642f93d198839cfc8ec556c3a6c
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/test/Transforms/LowerAtomic/atomic-load.ll
    M llvm/test/Transforms/LowerAtomic/atomic-swap.ll

  Log Message:
  -----------
  LowerAtomic: Convert tests to opaque pointers


  Commit: 1ec71a9569dca0597f040e21a607bbb0ea332cdf
      https://github.com/llvm/llvm-project/commit/1ec71a9569dca0597f040e21a607bbb0ea332cdf
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/test/Instrumentation/ThreadSanitizer/atomic-non-integer.ll
    M llvm/test/Instrumentation/ThreadSanitizer/atomic.ll
    M llvm/test/Instrumentation/ThreadSanitizer/capture.ll
    M llvm/test/Instrumentation/ThreadSanitizer/debug_calls.ll
    M llvm/test/Instrumentation/ThreadSanitizer/do-not-instrument-memory-access.ll
    M llvm/test/Instrumentation/ThreadSanitizer/eh.ll
    M llvm/test/Instrumentation/ThreadSanitizer/missing_dbg.ll
    M llvm/test/Instrumentation/ThreadSanitizer/no_sanitize_thread.ll
    M llvm/test/Instrumentation/ThreadSanitizer/read_before_write.ll
    M llvm/test/Instrumentation/ThreadSanitizer/read_from_global.ll
    M llvm/test/Instrumentation/ThreadSanitizer/sanitize-thread-no-checking.ll
    M llvm/test/Instrumentation/ThreadSanitizer/str-nobuiltin.ll
    M llvm/test/Instrumentation/ThreadSanitizer/tsan-vs-gvn.ll
    M llvm/test/Instrumentation/ThreadSanitizer/tsan_address_space_attr.ll
    M llvm/test/Instrumentation/ThreadSanitizer/tsan_basic.ll
    M llvm/test/Instrumentation/ThreadSanitizer/tsan_musttail.ll
    M llvm/test/Instrumentation/ThreadSanitizer/unaligned.ll
    M llvm/test/Instrumentation/ThreadSanitizer/volatile.ll
    M llvm/test/Instrumentation/ThreadSanitizer/vptr_read.ll
    M llvm/test/Instrumentation/ThreadSanitizer/vptr_update.ll

  Log Message:
  -----------
  ThreadSanitizer: Convert tests to opaque pointers

Required manual fixes in atomic.ll, missing_dbg.ll


  Commit: 8570893cfde8a82c723eaa4608c1e2ebe764a285
      https://github.com/llvm/llvm-project/commit/8570893cfde8a82c723eaa4608c1e2ebe764a285
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-11-27 (Sun, 27 Nov 2022)

  Changed paths:
    M llvm/test/Transforms/GlobalDCE/2002-07-17-CastRef.ll
    M llvm/test/Transforms/GlobalDCE/2002-07-17-ConstantRef.ll
    M llvm/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll
    M llvm/test/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll
    M llvm/test/Transforms/GlobalDCE/2002-09-12-Redeletion.ll
    M llvm/test/Transforms/GlobalDCE/2003-07-01-SelfReference.ll
    M llvm/test/Transforms/GlobalDCE/2009-01-05-DeadAliases.ll
    M llvm/test/Transforms/GlobalDCE/2009-02-17-AliasUsesAliasee.ll
    M llvm/test/Transforms/GlobalDCE/call-with-ptrtoint.ll
    M llvm/test/Transforms/GlobalDCE/comdats.ll
    M llvm/test/Transforms/GlobalDCE/complex-constantexpr.ll
    M llvm/test/Transforms/GlobalDCE/deadblockaddr.ll
    M llvm/test/Transforms/GlobalDCE/externally_available.ll
    M llvm/test/Transforms/GlobalDCE/global-ifunc.ll
    M llvm/test/Transforms/GlobalDCE/global_ctors.ll
    M llvm/test/Transforms/GlobalDCE/global_ctors_integration.ll
    M llvm/test/Transforms/GlobalDCE/indirectbr.ll
    M llvm/test/Transforms/GlobalDCE/virtual-functions-base-call.ll
    M llvm/test/Transforms/GlobalDCE/virtual-functions-base-pointer-call.ll
    M llvm/test/Transforms/GlobalDCE/virtual-functions-derived-call.ll
    M llvm/test/Transforms/GlobalDCE/virtual-functions-derived-pointer-call.ll
    M llvm/test/Transforms/GlobalDCE/virtual-functions-nonptr.ll
    M llvm/test/Transforms/GlobalDCE/virtual-functions-novfe.ll
    M llvm/test/Transforms/GlobalDCE/virtual-functions-null.ll
    M llvm/test/Transforms/GlobalDCE/virtual-functions-relative-pointers-bad.ll
    M llvm/test/Transforms/GlobalDCE/virtual-functions-relative-pointers-gep.ll
    M llvm/test/Transforms/GlobalDCE/virtual-functions-relative-pointers.ll
    M llvm/test/Transforms/GlobalDCE/virtual-functions-visibility-post-lto.ll
    M llvm/test/Transforms/GlobalDCE/virtual-functions-visibility-pre-lto.ll
    M llvm/test/Transforms/GlobalDCE/virtual-functions.ll
    M llvm/test/Transforms/GlobalDCE/vtable-rtti.ll

  Log Message:
  -----------
  GlobalDCE: Convert tests to opaque pointers

The script mangled both virtual-functions-base-pointer-call.ll and
virtual-functions-derived-pointer-call.ll pretty badly, deleting the
run line and most of the block comment.

Replaced the bitcast with and addrspacecast in 2002-07-17-CastRef.ll,
based on the apparent intent of the test.

For 2003-07-01-SelfReference.ll, the script produced "call ptr ()
@getfunc" which surprisingly parses as valid.


Compare: https://github.com/llvm/llvm-project/compare/8ff9bdb8e2de...8570893cfde8


More information about the All-commits mailing list