[all-commits] [llvm/llvm-project] ae6e89: Precommit tests that have poison as shufflevector'...
Juneyoung Lee via All-commits
all-commits at lists.llvm.org
Tue Dec 29 00:10:00 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ae6e89327b04a94b6d1a2533c598ec6be60eb922
https://github.com/llvm/llvm-project/commit/ae6e89327b04a94b6d1a2533c598ec6be60eb922
Author: Juneyoung Lee <aqjune at gmail.com>
Date: 2020-12-29 (Tue, 29 Dec 2020)
Changed paths:
M llvm/test/Transforms/CodeGenPrepare/AArch64/gather-scatter-opt-inseltpoison.ll
A llvm/test/Transforms/CodeGenPrepare/AArch64/sink-free-instructions-inseltpoison.ll
M llvm/test/Transforms/CodeGenPrepare/ARM/sink-add-mul-shufflevector-inseltpoison.ll
A llvm/test/Transforms/CodeGenPrepare/ARM/sink-free-instructions-inseltpoison.ll
M llvm/test/Transforms/CodeGenPrepare/ARM/sinkchain-inseltpoison.ll
A llvm/test/Transforms/CodeGenPrepare/X86/cgp_shuffle_crash-inseltpoison.ll
M llvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt-inseltpoison.ll
M llvm/test/Transforms/CodeGenPrepare/X86/vec-shift-inseltpoison.ll
M llvm/test/Transforms/CodeGenPrepare/X86/x86-shuffle-sink-inseltpoison.ll
A llvm/test/Transforms/DeadStoreElimination/masked-dead-store-inseltpoison.ll
A llvm/test/Transforms/Inline/inlined-loop-metadata-inseltpoison.ll
M llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts-inseltpoison.ll
A llvm/test/Transforms/InstCombine/X86/shufflemask-undef-inseltpoison.ll
M llvm/test/Transforms/InstCombine/X86/x86-addsub-inseltpoison.ll
A llvm/test/Transforms/InstCombine/X86/x86-avx2-inseltpoison.ll
A llvm/test/Transforms/InstCombine/X86/x86-f16c-inseltpoison.ll
A llvm/test/Transforms/InstCombine/X86/x86-muldq-inseltpoison.ll
M llvm/test/Transforms/InstCombine/X86/x86-pack-inseltpoison.ll
A llvm/test/Transforms/InstCombine/X86/x86-pshufb-inseltpoison.ll
A llvm/test/Transforms/InstCombine/X86/x86-sse4a-inseltpoison.ll
M llvm/test/Transforms/InstCombine/X86/x86-vector-shifts-inseltpoison.ll
A llvm/test/Transforms/InstCombine/X86/x86-vpermil-inseltpoison.ll
A llvm/test/Transforms/InstCombine/assume-inseltpoison.ll
A llvm/test/Transforms/InstCombine/bswap-inseltpoison.ll
M llvm/test/Transforms/InstCombine/extractelement-inseltpoison.ll
A llvm/test/Transforms/InstCombine/fmul-inseltpoison.ll
M llvm/test/Transforms/InstCombine/icmp-bc-vec-inseltpoison.ll
A llvm/test/Transforms/InstCombine/icmp-vec-inseltpoison.ll
M llvm/test/Transforms/InstCombine/insert-extract-shuffle-inseltpoison.ll
A llvm/test/Transforms/InstCombine/logical-select-inseltpoison.ll
M llvm/test/Transforms/InstCombine/masked_intrinsics-inseltpoison.ll
A llvm/test/Transforms/InstCombine/mul-inseltpoison.ll
A llvm/test/Transforms/InstCombine/nsw-inseltpoison.ll
A llvm/test/Transforms/InstCombine/obfuscated_splat-inseltpoison.ll
A llvm/test/Transforms/InstCombine/pr2645-0-inseltpoison.ll
M llvm/test/Transforms/InstCombine/scalarization-inseltpoison.ll
M llvm/test/Transforms/InstCombine/select-extractelement-inseltpoison.ll
M llvm/test/Transforms/InstCombine/shift-add-inseltpoison.ll
A llvm/test/Transforms/InstCombine/shuffle-cast-inseltpoison.ll
A llvm/test/Transforms/InstCombine/shuffle-select-narrow-inseltpoison.ll
A llvm/test/Transforms/InstCombine/shuffle_select-inseltpoison.ll
A llvm/test/Transforms/InstCombine/shufflevec-bitcast-inseltpoison.ll
A llvm/test/Transforms/InstCombine/shufflevec-constant-inseltpoison.ll
M llvm/test/Transforms/InstCombine/shufflevector-div-rem-inseltpoison.ll
A llvm/test/Transforms/InstCombine/sub-of-negatible-inseltpoison.ll
M llvm/test/Transforms/InstCombine/trunc-extractelement-inseltpoison.ll
A llvm/test/Transforms/InstCombine/trunc-inseltpoison.ll
A llvm/test/Transforms/InstCombine/type_pun-inseltpoison.ll
A llvm/test/Transforms/InstCombine/vec-binop-select-inseltpoison.ll
M llvm/test/Transforms/InstCombine/vec_demanded_elts-inseltpoison.ll
M llvm/test/Transforms/InstCombine/vec_gep_scalar_arg-inseltpoison.ll
M llvm/test/Transforms/InstCombine/vec_phi_extract-inseltpoison.ll
M llvm/test/Transforms/InstCombine/vec_shuffle-inseltpoison.ll
A llvm/test/Transforms/InstCombine/vector-concat-binop-inseltpoison.ll
M llvm/test/Transforms/InstCombine/vector_gep1-inseltpoison.ll
M llvm/test/Transforms/InstCombine/vscale_extractelement-inseltpoison.ll
M llvm/test/Transforms/InstCombine/vscale_insertelement-inseltpoison.ll
A llvm/test/Transforms/InstSimplify/ConstProp/vector-undef-elts-inseltpoison.ll
M llvm/test/Transforms/InstSimplify/ConstProp/vscale-inseltpoison.ll
A llvm/test/Transforms/InstSimplify/shufflevector-inseltpoison.ll
M llvm/test/Transforms/InstSimplify/vscale-inseltpoison.ll
A llvm/test/Transforms/InterleavedAccess/AArch64/binopshuffles-inseltpoison.ll
A llvm/test/Transforms/InterleavedAccess/AArch64/interleaved-accesses-extract-user-inseltpoison.ll
A llvm/test/Transforms/InterleavedAccess/AArch64/interleaved-accesses-inseltpoison.ll
A llvm/test/Transforms/InterleavedAccess/ARM/interleaved-accesses-extract-user-inseltpoison.ll
A llvm/test/Transforms/InterleavedAccess/ARM/interleaved-accesses-inseltpoison.ll
A llvm/test/Transforms/InterleavedAccess/X86/interleaved-accesses-64bits-avx-inseltpoison.ll
A llvm/test/Transforms/InterleavedAccess/X86/interleavedLoad-inseltpoison.ll
A llvm/test/Transforms/InterleavedAccess/X86/interleavedStore-inseltpoison.ll
A llvm/test/Transforms/LoopSimplify/do-preheader-dbg-inseltpoison.ll
A llvm/test/Transforms/LoopStrengthReduce/AMDGPU/lsr-void-inseltpoison.ll
M llvm/test/Transforms/LoopStrengthReduce/ARM/vctp-chains-inseltpoison.ll
M llvm/test/Transforms/LoopUnroll/PowerPC/p8-unrolling-legalize-vectors-inseltpoison.ll
A llvm/test/Transforms/LoopUnroll/X86/pr46430-inseltpoison.ll
M llvm/test/Transforms/PhaseOrdering/X86/scalarization-inseltpoison.ll
A llvm/test/Transforms/PhaseOrdering/X86/shuffle-inseltpoison.ll
M llvm/test/Transforms/Scalarizer/basic-inseltpoison.ll
M llvm/test/Transforms/Scalarizer/dbgloc-bug-inseltpoison.ll
M llvm/test/Transforms/Scalarizer/order-bug-inseltpoison.ll
A llvm/test/Transforms/Scalarizer/phi-bug-inseltpoison.ll
M llvm/test/Transforms/SpeculativeExecution/spec-other-inseltpoison.ll
A llvm/test/Transforms/VectorCombine/AArch64/vscale-bitcast-shuffle-inseltpoison.ll
A llvm/test/Transforms/VectorCombine/X86/no-sse-inseltpoison.ll
A llvm/test/Transforms/VectorCombine/X86/shuffle-inseltpoison.ll
Log Message:
-----------
Precommit tests that have poison as shufflevector's placeholder
This commit copies existing tests at llvm/Transforms containing
'shufflevector X, undef' and replaces them with 'shufflevector X, poison'.
The new copied tests have *-inseltpoison.ll suffix at its file name
(as db7a2f347f132b3920415013d62d1adfb18d8d58 did)
See https://reviews.llvm.org/D93793
Test files listed using
grep -R -E "^[^;]*shufflevector <.*> .*, <.*> undef" | cut -d":" -f1 | uniq
Test files copied & updated using
file_org=llvm/test/Transforms/$1
if [[ "$file_org" = *-inseltpoison.ll ]]; then
file=$file_org
else
file=${file_org%.ll}-inseltpoison.ll
if [ ! -f $file ]; then
cp $file_org $file
fi
fi
sed -i -E 's/^([^;]*)shufflevector <(.*)> (.*), <(.*)> undef/\1shufflevector <\2> \3, <\4> 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"
# The test is manually updated
exit 1
fi
python3 ./llvm/utils/update_test_checks.py --opt-binary=./build-releaseassert/bin/opt $file
More information about the All-commits
mailing list