forked from OSchip/llvm-project
db7a2f347f
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 |
||
---|---|---|
.. | ||
aa-metadata.ll | ||
adjust-alloca-alignment.ll | ||
complex-index.ll | ||
extended-index.ll | ||
gep-bitcast.ll | ||
insertion-point.ll | ||
interleaved-mayalias-store.ll | ||
invariant-load.ll | ||
lit.local.cfg | ||
merge-stores-private.ll | ||
merge-stores.ll | ||
merge-vectors.ll | ||
missing-alignment.ll | ||
multiple_tails.ll | ||
no-implicit-float.ll | ||
optnone.ll | ||
pointer-elements.ll | ||
selects-inseltpoison.ll | ||
selects.ll | ||
store_with_aliasing_load.ll | ||
vect-ptr-ptr-size-mismatch.ll | ||
weird-type-accesses.ll |