[all-commits] [llvm/llvm-project] 04b944: [InstSimplify] Convert tests to opaque pointers (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Jun 10 08:16:47 PDT 2022


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

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

  Log Message:
  -----------
  [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




More information about the All-commits mailing list