[InstSimplify] Convert tests to opaque pointers (NFC)
authorNikita Popov <npopov@redhat.com>
Fri, 10 Jun 2022 15:07:27 +0000 (17:07 +0200)
committerNikita Popov <npopov@redhat.com>
Fri, 10 Jun 2022 15:16:28 +0000 (17:16 +0200)
commit04b944e23050e4e0c6ee983cc9bc17740315ea4f
tree7f84b1d41199c0a961353c07f396770050a64be5
parent95083fa3b862772511baa086d27c78662758cf58
[InstSimplify] Convert tests to opaque pointers (NFC)

The only interesting test change is in @PR31262, where the following
fold is now performed, while it previously was not:
https://alive2.llvm.org/ce/z/a5Qmr6

llvm/test/Transforms/InstSimplify/ConstProp/gep.ll has not been
updated, because there is a tradeoff between folding and inrange
preservation there that we may want to discuss.

Updates have been performed using:
https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34
85 files changed:
llvm/test/Transforms/InstSimplify/2011-09-05-InsertExtractValue.ll
llvm/test/Transforms/InstSimplify/2011-10-27-BinOpCrash.ll
llvm/test/Transforms/InstSimplify/ConstProp/2005-01-28-SetCCGEP.ll
llvm/test/Transforms/InstSimplify/ConstProp/2008-07-07-VectorCompare.ll
llvm/test/Transforms/InstSimplify/ConstProp/2009-06-20-constexpr-zero-lhs.ll
llvm/test/Transforms/InstSimplify/ConstProp/2009-09-01-GEP-Crash.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cos.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubeid.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubema.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubesc.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubetc.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/fma_legacy.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/fmul_legacy.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/fract.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/perm.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/sin.ll
llvm/test/Transforms/InstSimplify/ConstProp/WebAssembly/trunc.ll
llvm/test/Transforms/InstSimplify/ConstProp/allones.ll
llvm/test/Transforms/InstSimplify/ConstProp/basictest.ll
llvm/test/Transforms/InstSimplify/ConstProp/bitcast.ll
llvm/test/Transforms/InstSimplify/ConstProp/calls-math-finite.ll
llvm/test/Transforms/InstSimplify/ConstProp/calls.ll
llvm/test/Transforms/InstSimplify/ConstProp/cast-vector.ll
llvm/test/Transforms/InstSimplify/ConstProp/constant-expr.ll
llvm/test/Transforms/InstSimplify/ConstProp/div-zero.ll
llvm/test/Transforms/InstSimplify/ConstProp/float-to-ptr-cast.ll
llvm/test/Transforms/InstSimplify/ConstProp/freeze.ll
llvm/test/Transforms/InstSimplify/ConstProp/gep-alias-gep-load.ll
llvm/test/Transforms/InstSimplify/ConstProp/gep-alias.ll
llvm/test/Transforms/InstSimplify/ConstProp/gep-constanfolding-error.ll
llvm/test/Transforms/InstSimplify/ConstProp/gep-zeroinit-vector.ll
llvm/test/Transforms/InstSimplify/ConstProp/icmp-global.ll
llvm/test/Transforms/InstSimplify/ConstProp/loads.ll
llvm/test/Transforms/InstSimplify/ConstProp/poison.ll
llvm/test/Transforms/InstSimplify/ConstProp/shift.ll
llvm/test/Transforms/InstSimplify/ConstProp/timeout.ll
llvm/test/Transforms/InstSimplify/ConstProp/vectorgep-crash.ll
llvm/test/Transforms/InstSimplify/ConstProp/vscale-getelementptr.ll
llvm/test/Transforms/InstSimplify/ConstProp/vscale-inseltpoison.ll
llvm/test/Transforms/InstSimplify/ConstProp/vscale.ll
llvm/test/Transforms/InstSimplify/add-mask.ll
llvm/test/Transforms/InstSimplify/and-or-icmp-nullptr.ll
llvm/test/Transforms/InstSimplify/and-or-icmp-zero.ll
llvm/test/Transforms/InstSimplify/assume-non-zero.ll
llvm/test/Transforms/InstSimplify/call.ll
llvm/test/Transforms/InstSimplify/cast.ll
llvm/test/Transforms/InstSimplify/cmp-alloca-offsets.ll
llvm/test/Transforms/InstSimplify/compare.ll
llvm/test/Transforms/InstSimplify/fold-intrinsics.ll
llvm/test/Transforms/InstSimplify/freeze-noundef.ll
llvm/test/Transforms/InstSimplify/freeze.ll
llvm/test/Transforms/InstSimplify/gc_relocate.ll
llvm/test/Transforms/InstSimplify/gep.ll
llvm/test/Transforms/InstSimplify/icmp.ll
llvm/test/Transforms/InstSimplify/insertelement.ll
llvm/test/Transforms/InstSimplify/invalid-load-operand-infinite-loop.ll
llvm/test/Transforms/InstSimplify/invariant.group-load.ll
llvm/test/Transforms/InstSimplify/known-non-zero.ll
llvm/test/Transforms/InstSimplify/load-relative-32.ll
llvm/test/Transforms/InstSimplify/load-relative.ll
llvm/test/Transforms/InstSimplify/load.ll
llvm/test/Transforms/InstSimplify/maxmin_intrinsics.ll
llvm/test/Transforms/InstSimplify/noalias-ptr.ll
llvm/test/Transforms/InstSimplify/null-ptr-is-valid-attribute.ll
llvm/test/Transforms/InstSimplify/null-ptr-is-valid.ll
llvm/test/Transforms/InstSimplify/opaque-ptr.ll
llvm/test/Transforms/InstSimplify/past-the-end.ll
llvm/test/Transforms/InstSimplify/phi-cse.ll
llvm/test/Transforms/InstSimplify/phi.ll
llvm/test/Transforms/InstSimplify/pr33957.ll
llvm/test/Transforms/InstSimplify/pr49495.ll
llvm/test/Transforms/InstSimplify/ptr_diff.ll
llvm/test/Transforms/InstSimplify/redundant-null-check-in-uadd_with_overflow-of-nonnull-ptr.ll
llvm/test/Transforms/InstSimplify/remove-dead-call.ll
llvm/test/Transforms/InstSimplify/require-dominator.ll
llvm/test/Transforms/InstSimplify/result-of-usub-by-nonzero-is-non-zero-and-no-overflow.ll
llvm/test/Transforms/InstSimplify/returned.ll
llvm/test/Transforms/InstSimplify/select-implied.ll
llvm/test/Transforms/InstSimplify/select-inseltpoison.ll
llvm/test/Transforms/InstSimplify/select.ll
llvm/test/Transforms/InstSimplify/simplify-nested-bitcast.ll
llvm/test/Transforms/InstSimplify/vector_gep.ll
llvm/test/Transforms/InstSimplify/vector_ptr_bitcast.ll
llvm/test/Transforms/InstSimplify/vscale-inseltpoison.ll
llvm/test/Transforms/InstSimplify/vscale.ll