[all-commits] [llvm/llvm-project] 74e652: [SROA] Migrate tests to opaque pointers (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jun 21 03:55:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 74e652786b2402c529f550959dc7ab58ed4e9ffc
      https://github.com/llvm/llvm-project/commit/74e652786b2402c529f550959dc7ab58ed4e9ffc
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-06-21 (Tue, 21 Jun 2022)

  Changed paths:
    M llvm/test/Transforms/SROA/2009-02-20-InstCombine-SROA.ll
    M llvm/test/Transforms/SROA/address-spaces.ll
    M llvm/test/Transforms/SROA/addrspacecast.ll
    M llvm/test/Transforms/SROA/alignment.ll
    M llvm/test/Transforms/SROA/alloca-address-space.ll
    M llvm/test/Transforms/SROA/assume.ll
    R llvm/test/Transforms/SROA/basictest-opaque-ptrs.ll
    M llvm/test/Transforms/SROA/basictest.ll
    M llvm/test/Transforms/SROA/big-endian.ll
    M llvm/test/Transforms/SROA/dbg-addr-diamond.ll
    M llvm/test/Transforms/SROA/dbg-inline.ll
    M llvm/test/Transforms/SROA/dbg-single-piece.ll
    M llvm/test/Transforms/SROA/dead-inst.ll
    M llvm/test/Transforms/SROA/fca.ll
    M llvm/test/Transforms/SROA/ignore-droppable.ll
    M llvm/test/Transforms/SROA/invariant-group.ll
    M llvm/test/Transforms/SROA/irregular-type.ll
    M llvm/test/Transforms/SROA/lifetime-intrinsic.ll
    M llvm/test/Transforms/SROA/mem-par-metadata-sroa-cast.ll
    M llvm/test/Transforms/SROA/mem-par-metadata-sroa.ll
    M llvm/test/Transforms/SROA/non-capturing-call-readonly.ll
    M llvm/test/Transforms/SROA/non-integral-pointers.ll
    M llvm/test/Transforms/SROA/phi-and-select.ll
    M llvm/test/Transforms/SROA/phi-catchswitch.ll
    M llvm/test/Transforms/SROA/phi-gep.ll
    M llvm/test/Transforms/SROA/phi-with-duplicate-pred.ll
    M llvm/test/Transforms/SROA/pointer-offset-size.ll
    M llvm/test/Transforms/SROA/ppcf128-no-fold.ll
    M llvm/test/Transforms/SROA/pr26972.ll
    M llvm/test/Transforms/SROA/pr37267.ll
    M llvm/test/Transforms/SROA/preserve-nonnull.ll
    M llvm/test/Transforms/SROA/scalable-vectors.ll
    M llvm/test/Transforms/SROA/select-gep.ll
    M llvm/test/Transforms/SROA/select-load.ll
    M llvm/test/Transforms/SROA/slice-order-independence.ll
    M llvm/test/Transforms/SROA/slice-width.ll
    M llvm/test/Transforms/SROA/std-clamp.ll
    M llvm/test/Transforms/SROA/tbaa-struct.ll
    M llvm/test/Transforms/SROA/tbaa-struct2.ll
    M llvm/test/Transforms/SROA/tbaa-subload.ll
    M llvm/test/Transforms/SROA/vector-conversion.ll
    M llvm/test/Transforms/SROA/vector-lifetime-intrinsic.ll
    M llvm/test/Transforms/SROA/vector-promotion-different-size.ll
    M llvm/test/Transforms/SROA/vector-promotion.ll
    M llvm/test/Transforms/SROA/vectors-of-pointers.ll

  Log Message:
  -----------
  [SROA] Migrate tests to opaque pointers (NFC)

Tests were updated with this script:
https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34

However, in this case a lot of fixup was required, due to many
minor, but ultimately immaterial differences in results. In
particular, the GEP representation changes slightly in many cases,
either because we now use an i8 GEP, or because we now leave a
GEP alone, using it's original index types and (lack of) inbounds.

basictest-opaque-ptrs.ll has been dropped, because it was an
opaque pointers duplicate of basictest.ll.




More information about the All-commits mailing list