llvm-project/llvm/test/Transforms/CodeGenPrepare/X86
Juneyoung Lee ae6e89327b Precommit tests that have poison as shufflevector's placeholder
This commit copies existing tests at llvm/Transforms containing
'shufflevector X, undef' and replaces them with 'shufflevector X, poison'.
The new copied tests have *-inseltpoison.ll suffix at its file name
(as db7a2f347f did)
See https://reviews.llvm.org/D93793

Test files listed using

grep -R -E "^[^;]*shufflevector <.*> .*, <.*> undef" | cut -d":" -f1 | uniq

Test files copied & updated using

file_org=llvm/test/Transforms/$1
if [[ "$file_org" = *-inseltpoison.ll ]]; then
  file=$file_org
else
  file=${file_org%.ll}-inseltpoison.ll
  if [ ! -f $file ]; then
    cp $file_org $file
  fi
fi
sed -i -E 's/^([^;]*)shufflevector <(.*)> (.*), <(.*)> undef/\1shufflevector <\2> \3, <\4> 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"
  # The test is manually updated
  exit 1
fi
python3 ./llvm/utils/update_test_checks.py --opt-binary=./build-releaseassert/bin/opt $file
2020-12-29 17:09:31 +09:00
..
2008-11-24-RAUW-Self.ll
bitreverse-hang.ll
catchpad-phi-cast.ll
cgp_shuffle_crash-inseltpoison.ll Precommit tests that have poison as shufflevector's placeholder 2020-12-29 17:09:31 +09:00
cgp_shuffle_crash.ll
computedgoto.ll
cttz-ctlz.ll
delete-assume-dead-code.ll [CodeGenPrepare] Zap the argument of llvm.assume when deleting it 2020-08-28 20:52:22 +02:00
ext-logicop.ll
extend-sink-hoist.ll
fcmp-sinking.ll
freeze-brcond.ll
gather-scatter-opt-inseltpoison.ll Precommit tests that have poison as shufflevector's placeholder 2020-12-29 17:09:31 +09:00
gather-scatter-opt.ll [CodeGenPrepare][X86] Teach optimizeGatherScatterInst to turn a splat pointer into GEP with scalar base and 0 index 2020-09-02 20:44:12 -07:00
gep-unmerging.ll
invariant.group.ll
lit.local.cfg
memset_chk-simplify-nobuiltin.ll
multi-extension.ll
nonintegral.ll
optimizeSelect-DT.ll
overflow-intrinsics.ll
pr27536.ll
pr35658.ll
promoted-trunc-loc.ll [CGP] Add `--match-full-lines` to make sure we don't have a dbg attachment. 2020-06-16 14:05:28 -07:00
promoted-zext-debugloc.ll [CGP] Reset the debug location when promoting zext(s). 2020-06-17 11:13:13 -07:00
recursively-delete-dead-instructions.ll [CodeGenPrepare] Fix zapping dead operands of assume 2020-09-14 11:46:34 +07:00
section-samplepgo.ll [CodeGen] Add text section prefix for COFF object file 2020-12-08 18:56:21 +08:00
section.ll [CodeGen] Add text section prefix for COFF object file 2020-12-08 18:56:21 +08:00
select.ll
sink-addrmode-base.ll
sink-addrmode-inseltpoison.ll Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
sink-addrmode-select.ll [test] Add explicit dso_local to constant/global variable declarations 2020-12-04 13:51:01 -08:00
sink-addrmode-two-phi.ll
sink-addrmode.ll
sink-addrspacecast.ll
split-indirect-loop.ll
split-store-alignment.ll
statepoint-relocate.ll [Tests] Be consistent w/definition of statepoint-example 2020-08-14 20:45:48 -07:00
tailcall-assume-xbb.ll
vec-shift-inseltpoison.ll Precommit tests that have poison as shufflevector's placeholder 2020-12-29 17:09:31 +09:00
vec-shift.ll [CodeGenPrepare] Remove unused check-prefixes 2020-11-09 13:12:39 +00:00
widen_switch.ll
widenable-condition.ll
x86-shuffle-sink-inseltpoison.ll Precommit tests that have poison as shufflevector's placeholder 2020-12-29 17:09:31 +09:00
x86-shuffle-sink.ll