llvm-project/llvm/test/Transforms/VectorCombine/X86
Juneyoung Lee db7a2f347f 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
..
extract-binop-inseltpoison.ll Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
extract-binop.ll [VectorCombine] add/use pass-level IRBuilder 2020-06-22 09:01:29 -04:00
extract-cmp-binop.ll [VectorCombine] try to form vector compare and binop to eliminate scalar ops 2020-06-29 10:38:52 -04:00
extract-cmp.ll [VectorCombine] improve IR debugging by providing/salvaging value names 2020-06-22 08:35:47 -04:00
insert-binop-inseltpoison.ll Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
insert-binop-with-constant-inseltpoison.ll Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
insert-binop-with-constant.ll [ConstantFold] Fold more operations to poison 2020-11-29 21:19:48 +09:00
insert-binop.ll [ConstantFold] Fold more operations to poison 2020-11-29 21:19:48 +09:00
lit.local.cfg
load-inseltpoison.ll Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
load.ll [VectorCombine] allow peeking through GEPs when creating a vector load 2020-12-18 09:25:03 -05:00
no-sse.ll [VectorCombine] early exit if target has no vector registers 2020-08-12 09:22:31 -04:00
scalarize-cmp-inseltpoison.ll Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
scalarize-cmp.ll [VectorCombine][X86] Removed unused check prefixes 2020-11-06 17:27:12 +00:00
shuffle.ll [VectorCombine] add helper to replace uses and rename 2020-06-22 09:58:49 -04:00