1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Transforms/SLPVectorizer
Juneyoung Lee 08ec5d7c6b 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
2020-12-24 11:46:17 +09:00
..
AArch64 Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
AMDGPU Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
ARM Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
NVPTX Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
PowerPC
SystemZ
VE [VE][TTI] don't advertise vregs/vops 2020-11-06 11:12:10 +01:00
WebAssembly Reland "[SLPVectorizer] Pre-commit a test for D85759" 2020-08-11 12:18:33 -07:00
X86 Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
XCore
int_sideeffect.ll
slp-max-phi-size.ll [SLP] Control maximum vectorization factor from TTI 2020-12-14 08:49:40 -08:00
vectorizable-functions-inseltpoison.ll Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
vectorizable-functions.ll