[all-commits] [llvm/llvm-project] 3c514d: [EarlyCSE] Update tests to use opaque pointers (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Jun 10 00:54:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c514d31d7913f7841ed6a31eff27397a76207e4
      https://github.com/llvm/llvm-project/commit/3c514d31d7913f7841ed6a31eff27397a76207e4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-06-10 (Fri, 10 Jun 2022)

  Changed paths:
    M llvm/test/Transforms/EarlyCSE/AArch64/intrinsics.ll
    M llvm/test/Transforms/EarlyCSE/AArch64/ldstN.ll
    M llvm/test/Transforms/EarlyCSE/AMDGPU/intrinsics.ll
    M llvm/test/Transforms/EarlyCSE/PowerPC/read-reg.ll
    M llvm/test/Transforms/EarlyCSE/X86/preserve_memoryssa.ll
    M llvm/test/Transforms/EarlyCSE/atomics.ll
    M llvm/test/Transforms/EarlyCSE/basic.ll
    M llvm/test/Transforms/EarlyCSE/commute.ll
    M llvm/test/Transforms/EarlyCSE/conditional.ll
    M llvm/test/Transforms/EarlyCSE/const-speculation.ll
    M llvm/test/Transforms/EarlyCSE/debug-info-undef.ll
    M llvm/test/Transforms/EarlyCSE/debuginfo-dce.ll
    M llvm/test/Transforms/EarlyCSE/edge.ll
    M llvm/test/Transforms/EarlyCSE/fence.ll
    M llvm/test/Transforms/EarlyCSE/flags.ll
    M llvm/test/Transforms/EarlyCSE/floatingpoint.ll
    M llvm/test/Transforms/EarlyCSE/gc_relocate.ll
    M llvm/test/Transforms/EarlyCSE/getmatchingvalue-crash.ll
    M llvm/test/Transforms/EarlyCSE/guards.ll
    M llvm/test/Transforms/EarlyCSE/int_sideeffect.ll
    M llvm/test/Transforms/EarlyCSE/invariant-loads.ll
    M llvm/test/Transforms/EarlyCSE/invariant.start.ll
    M llvm/test/Transforms/EarlyCSE/masked-intrinsics-unequal-masks.ll
    M llvm/test/Transforms/EarlyCSE/masked-intrinsics.ll
    M llvm/test/Transforms/EarlyCSE/memoryssa.ll
    M llvm/test/Transforms/EarlyCSE/noalias-scope-decl.ll
    M llvm/test/Transforms/EarlyCSE/phi.ll
    M llvm/test/Transforms/EarlyCSE/pr33406.ll
    M llvm/test/Transforms/EarlyCSE/readnone-mayunwind.ll
    M llvm/test/Transforms/EarlyCSE/writeonly.ll

  Log Message:
  -----------
  [EarlyCSE] Update tests to use opaque pointers (NFC)

Update the EarlyCSE tests to use opaque pointers.

Worth noting that this leaves some bitcast ptr to ptr instructions
in the input IR behind which are no longer necessary. This is
because these use numbered instructions, so it's hard to drop them
in an automated fashion (as it would require renumbering all other
instructions as well). I'm leaving that as a problem for another day.

The test updates have been performed using
https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34.

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




More information about the All-commits mailing list