SuccessChanges

Summary

  1. Precommit transform tests that have poison as insertelement's placeholder (details)
Commit db7a2f347f132b3920415013d62d1adfb18d8d58 by aqjune
Precommit transform tests that have poison as insertelement's placeholder

This commit copies existing tests at llvm/Transforms and replaces
'insertelement undef' in those files with 'insertelement poison'.
(see https://reviews.llvm.org/D93586)

Tests listed using this script:

grep -R -E '^[^;]*insertelement <.*> undef,' . | cut -d":" -f1 | uniq |
wc -l

Tests updated:

file_org=llvm/test/Transforms/$1
file=${file_org%.ll}-inseltpoison.ll
cp $file_org $file
sed -i -E 's/^([^;]*)insertelement <(.*)> undef/\1insertelement <\2> poison/g' $file
head -1 $file | grep "Assertions have been autogenerated by utils/update_test_checks.py" -q
if [ "$?" == 1 ]; then
  echo "$file : should be manually updated"
  # I manually updated the script
  exit 1
fi
python3 ./llvm/utils/update_test_checks.py --opt-binary=./build-releaseassert/bin/opt $file
The file was addedllvm/test/Transforms/SLPVectorizer/X86/pr31599-inseltpoison.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/vscale-shufflevector-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/alternate-cast-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/pr42022-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/X86/x86-sse2-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/vec_shuffle-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/pr38984-inseltpoison.ll
The file was addedllvm/test/Transforms/VectorCombine/X86/insert-binop-with-constant-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/extract-shuffle-inseltpoison.ll
The file was addedllvm/test/Transforms/Attributor/dereferenceable-2-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/crash_scheduling-inseltpoison.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/vscale-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/AArch64/sve-bitcast-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/AMDGPU/add_sub_sat-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/X86/x86-sse-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/X86/x86-xop-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/insert-extract-shuffle-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/shufflevector-div-rem-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/hadd-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/vscale_insertelement-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/trunc-extractelement-inseltpoison.ll
The file was addedllvm/test/Transforms/InstSimplify/select-inseltpoison.ll
The file was addedllvm/test/Transforms/LoadStoreVectorizer/X86/vectorize-i8-nested-add-inseltpoison.ll
The file was addedllvm/test/Transforms/SimplifyCFG/ARM/speculate-vector-ops-inseltpoison.ll
The file was addedllvm/test/Transforms/Scalarizer/basic-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/scalarization-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/AMDGPU/round-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/PR35865-inseltpoison.ll
The file was addedllvm/test/Transforms/VectorCombine/X86/insert-binop-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/vscale_extractelement-inseltpoison.ll
The file was addedllvm/test/Transforms/PGOProfile/counter_promo_nest-inseltpoison.ll
The file was addedllvm/test/Transforms/PhaseOrdering/X86/horiz-math-inseltpoison.ll
The file was addedllvm/test/Transforms/VectorCombine/Hexagon/load-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/vectorizable-functions-inseltpoison.ll
The file was addedllvm/test/Transforms/CodeGenPrepare/X86/vec-shift-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/value-bug-inseltpoison.ll
The file was addedllvm/test/Transforms/LoadStoreVectorizer/X86/load-width-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/AArch64/transpose-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/AMDGPU/bswap-inseltpoison.ll
The file was addedllvm/test/Transforms/VectorCombine/AMDGPU/as-transition-inseltpoison.ll
The file was addedllvm/test/Transforms/VectorCombine/X86/extract-binop-inseltpoison.ll
The file was addedllvm/test/Transforms/CodeGenPrepare/X86/x86-shuffle-sink-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/sign-extend-inseltpoison.ll
The file was addedllvm/test/Transforms/StructurizeCFG/rebuild-ssa-infinite-loop-inseltpoison.ll
The file was addedllvm/test/Transforms/PhaseOrdering/X86/scalarization-inseltpoison.ll
The file was addedllvm/test/Transforms/LoopStrengthReduce/ARM/vctp-chains-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/extractelement-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/X86/x86-avx512-inseltpoison.ll
The file was addedllvm/test/Transforms/GVN/2016-08-30-MaskedScatterGather-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/X86/x86-addsub-inseltpoison.ll
The file was addedllvm/test/Transforms/LoopUnroll/PowerPC/p8-unrolling-legalize-vectors-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/AArch64/accelerate-vector-functions-inseltpoison.ll
The file was addedllvm/test/Transforms/BDCE/vectors-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/X86/x86-sse41-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/vec_demanded_elts-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/vec_extract_var_elt-inseltpoison.ll
The file was addedllvm/test/Transforms/GVN/non-integral-pointers-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/sext-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/shift-add-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/pr47629-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/masked_intrinsics-inseltpoison.ll
The file was addedllvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/alternate-calls-inseltpoison.ll
The file was addedllvm/test/Transforms/SpeculativeExecution/spec-other-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/cmp_commute-inseltpoison.ll
The file was addedllvm/test/Transforms/LoadStoreVectorizer/AMDGPU/selects-inseltpoison.ll
The file was addedllvm/test/Transforms/CodeGenPrepare/ARM/sink-add-mul-shufflevector-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/insert-element-build-vector-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/arith-fp-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/fold-vector-zero-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/vector_gep1-inseltpoison.ll
The file was addedllvm/test/Transforms/InstSimplify/vscale-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/hsub-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/bitcast-vec-canon-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/external_user_jumbled_load-inseltpoison.ll
The file was addedllvm/test/Transforms/PhaseOrdering/X86/addsub-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/vector-casts-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/inselt-binop-inseltpoison.ll
The file was addedllvm/test/Transforms/CodeGenPrepare/ARM/sinkchain-inseltpoison.ll
The file was addedllvm/test/Transforms/InferAddressSpaces/AMDGPU/old-pass-regressions-inseltpoison.ll
The file was addedllvm/test/Transforms/Scalarizer/order-bug-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/select-extractelement-inseltpoison.ll
The file was addedllvm/test/Transforms/RewriteStatepointsForGC/check_traversal_order-inseltpoison.ll
The file was addedllvm/test/Transforms/PhaseOrdering/vector-trunc-inseltpoison.ll
The file was addedllvm/test/Transforms/RewriteStatepointsForGC/base-vector-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/alternate-int-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/udiv-pow2-vscale-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/vector_insertelt_shuffle-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/icmp-bc-vec-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/alternate-fp-inseltpoison.ll
The file was addedllvm/test/Transforms/SimplifyCFG/speculate-vector-ops-inseltpoison.ll
The file was addedllvm/test/Transforms/VectorCombine/X86/load-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/vec_phi_extract-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/vec_gep_scalar_arg-inseltpoison.ll
The file was addedllvm/test/Transforms/CodeGenPrepare/X86/sink-addrmode-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/broadcast-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/zext-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/load-merge-inseltpoison.ll
The file was addedllvm/test/Transforms/RewriteStatepointsForGC/live-vector-nosplit-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/pr44067-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/bitcast-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/AArch64/insertelement-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/vec_list_bias-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/NVPTX/non-vectorizable-intrinsic-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/X86/x86-vec_demanded_elts-inseltpoison.ll
The file was addedllvm/test/Transforms/CodeGenPrepare/AArch64/gather-scatter-opt-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/blending-shuffle-inseltpoison.ll
The file was addedllvm/test/Transforms/Scalarizer/dbgloc-bug-inseltpoison.ll
The file was addedllvm/test/Transforms/InstSimplify/ConstProp/InsertElement-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/fptosi-inseltpoison.ll
The file was addedllvm/test/Transforms/InferFunctionAttrs/dereferenceable-inseltpoison.ll
The file was addedllvm/test/Transforms/VectorCombine/X86/scalarize-cmp-inseltpoison.ll
The file was addedllvm/test/Transforms/CodeGenPrepare/AMDGPU/bypass-slow-div-debug-info-inseltpoison.ll
The file was addedllvm/test/Transforms/GVN/constexpr-vector-constainsundef-crash-inseltpoison.ll
The file was addedllvm/test/Transforms/NewGVN/2016-08-30-MaskedScatterGather-xfail-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/X86/x86-pack-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/X86/sitofp-inseltpoison.ll
The file was addedllvm/test/Transforms/InstCombine/X86/x86-vector-shifts-inseltpoison.ll
The file was addedllvm/test/Transforms/SLPVectorizer/ARM/extract-insert-inseltpoison.ll