llvm-project/llvm/test/Transforms/InferAddressSpaces/AMDGPU
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
..
address-space-id-funcs.ll
assumed-addrspace.ll [InferAddrSpace] Teach to handle assumed address space. 2020-11-16 17:06:33 -05:00
basic.ll
icmp.ll
infer-address-space.ll
infer-addrspacecast.ll
infer-getelementptr.ll
intrinsics.ll
lit.local.cfg
mem-intrinsics.ll AMDGPU: Fix wrong type mangling in intrinsic test 2020-08-19 14:33:19 -04:00
no-flat-addrspace.ll
noop-ptrint-pair.ll [InferAddressSpaces] Handle the pair of `ptrtoint`/`inttoptr`. 2020-06-25 20:46:56 -04:00
old-pass-regressions-inseltpoison.ll Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
old-pass-regressions.ll
ptrmask.ll AMDGPU: Handle rewriting ptrmask for more address spaces 2020-05-28 14:35:15 -04:00
redundant-addrspacecast.ll
select.ll Recommit "[InstSimplify] Remove select ?, undef, X -> X and select ?, X, undef -> X transforms" and its follow up patches 2020-08-12 10:45:27 -07:00
self-phi.ll InferAddressSpaces: Fix assert with unreachable code 2020-09-15 15:48:43 -04:00
unreachable-code-assert.ll InferAddressSpaces: Fix assert with unreachable code 2020-09-15 15:48:43 -04:00
volatile.ll