aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/SectionMemoryManager.cpp
diff options
context:
space:
mode:
authorJuneyoung Lee <aqjune@gmail.com>2020-12-24 11:41:27 +0900
committerJuneyoung Lee <aqjune@gmail.com>2020-12-24 11:46:17 +0900
commitdb7a2f347f132b3920415013d62d1adfb18d8d58 (patch)
tree14789ad50c5a187fb08db0c8326c80b54e52a7e1 /llvm/lib/ExecutionEngine/SectionMemoryManager.cpp
parent48ad8194a56f350e84383fff7cb705820ea850bc (diff)
downloadllvm-db7a2f347f132b3920415013d62d1adfb18d8d58.zip
llvm-db7a2f347f132b3920415013d62d1adfb18d8d58.tar.gz
llvm-db7a2f347f132b3920415013d62d1adfb18d8d58.tar.bz2
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
Diffstat (limited to 'llvm/lib/ExecutionEngine/SectionMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions