[PATCH] D127278: [EarlyCSE] Update tests to use opaque pointers (NFC)

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 02:40:10 PDT 2022


nikic created this revision.
nikic added a reviewer: opaque-pointers.
Herald added subscribers: kosarev, kerbowa, asbirlea, george.burgess.iv, jvesely, nemanjai.
Herald added a project: All.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Update the EarlyCSE tests to use opaque pointers. Mainly putting this up for review to get confirmation that it's fine to start migrating tests.

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 these in an automated fashion (as it would require renumbering all other instructions as well). I'm leaving that as a problem for another day.


https://reviews.llvm.org/D127278

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127278.435084.patch
Type: text/x-patch
Size: 220089 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220608/0ca2a523/attachment-0001.bin>


More information about the llvm-commits mailing list