1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/Transforms/NewGVN
Juneyoung Lee 08ec5d7c6b 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
..
2007-07-25-DominatedLoop.ll
2007-07-25-InfiniteLoop.ll
2007-07-25-Loop.ll
2007-07-25-NestedLoop.ll
2007-07-25-SinglePredecessor.ll
2007-07-26-InterlockingLoops.ll
2007-07-26-NonRedundant.ll
2007-07-26-PhiErasure.ll [NewGVN] Remove unused check-prefixes 2020-11-09 12:18:19 +00:00
2007-07-30-PredIDom.ll
2007-07-31-NoDomInherit-xfail.ll
2007-07-31-RedundantPhi.ll
2008-02-12-UndefLoad-xfail.ll
2008-02-13-NewPHI.ll
2008-07-02-Unreachable.ll
2008-12-09-SelfRemove.ll
2008-12-12-RLE-Crash.ll
2008-12-14-rle-reanalyze.ll
2008-12-15-CacheVisited.ll
2009-01-21-SortInvalidation.ll
2009-01-22-SortInvalidation.ll
2009-03-10-PREOnVoid.ll OpaquePtr: Bulk update tests to use typed sret 2020-11-20 17:58:26 -05:00
2009-07-13-MemDepSortFail.ll
2009-11-12-MemDepMallocBitCast.ll
2010-03-31-RedundantPHIs.ll
2010-05-08-OneBit.ll
2010-11-13-Simplify.ll
2011-04-27-phioperands.ll
2011-07-07-MatchIntrinsicExtract.ll
2011-09-07-TypeIdFor.ll
2012-05-22-PreCrash.ll
2016-08-30-MaskedScatterGather-xfail-inseltpoison.ll Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
2016-08-30-MaskedScatterGather-xfail.ll
addrspacecast.ll
assume-equal-xfail.ll
assume-equal.ll
assumes.ll
basic-cyclic-opt.ll
basic-undef-test.ll
basic.ll
big-endian.ll
bitcast-of-call.ll
br-identical.ll
calloc-load-removal.ll
calls-nonlocal-xfail.ll
calls-readonly.ll
commute.ll
completeness.ll
cond_br2-xfail.ll
cond_br.ll
condprop-xfail.ll
condprop.ll
crash-no-aa.ll
crash.ll
cyclic-phi-handling.ll
dbg-redundant-load.ll
deadstore.ll
debugloc-xfail.ll
edge.ll
eliminate-callsite-inline.ll [test] Fix eliminate-callsite-inline.ll under NPM 2020-11-18 12:39:39 -08:00
eliminate-ssacopy.ll
equivalent-phi.ll
fence-xfail.ll
flags-simplify.ll
flags.ll
fold-const-expr.ll
fpmath.ll
funclet.ll
int_sideeffect.ll
invariant.group-xfail.ll
invariant.start.ll
lifetime-simple.ll
load-constant-mem.ll
load-from-unreachable-predecessor.ll
loadforward.ll
malloc-load-removal.ll
MemdepMiscompile.ll
memory-handling.ll
metadata-nonnull.ll
metadata-simplify.ll
no_speculative_loads_with_asan.ll
noalias.ll [MemCpyOpt] Correctly merge alias scopes during call slot optimization 2020-12-03 09:23:37 -08:00
non-integral-pointers.ll
non-local-offset.ll
nonescaping-malloc-xfail.ll
null-aliases-nothing.ll
opt-remarks-xfail.ll
pair_jumpthread.ll
phi-edge-handling.ll
phi-of-ops-move-block.ll
phi-translate-partial-alias.ll
pr10820-xfail.ll
pr12979.ll
pr14166-xfail.ll
pr17732.ll
pr17852.ll OpaquePtr: Bulk update tests to use typed byval 2020-11-20 14:00:46 -05:00
pr24397.ll
pr24426.ll
pr25440.ll
pr28562.ll
pr31472.ll
pr31483.ll
pr31491.ll
pr31501.ll
pr31573.ll
pr31594.ll
pr31613.ll
pr31682.ll
pr31758.ll
pr32403.ll
pr32607.ll
pr32836.ll
pr32838.ll
pr32845.ll
pr32852.ll
pr32897.ll
pr32934.ll
pr32945.ll
pr32952.ll
pr33014.ll
pr33086.ll
pr33116.ll
pr33165-distribute-undef.ll
pr33185.ll
pr33187.ll
pr33196.ll
pr33204.ll
pr33305.ll
pr33367.ll
pr33432.ll
pr33461.ll
pr33720.ll
pr34135.ll
pr34430.ll
pr34452.ll
pr35074.ll
pr35125.ll
pr43441.ll
pre-compare.ll
pre-new-inst-xfail.ll
predicates.ll
preserve-metadata-for-predicate-replacements.ll
propagate-ir-flags.ll
range.ll
readattrs.ll
refine-stores.ll
rle-must-alias-xfail.ll
rle-no-phi-translate-xfail.ll
rle-nonlocal.ll
rle.ll [DIE] Remove DeadInstEliminationPass 2020-09-21 12:12:25 -07:00
simp-to-self.ll
stale-loop-info.ll
storeoverstore.ll
tbaa.ll
todo-pr35074-phi-of-ops.ll
todo-pr36335-phi-undef.ll
todo-pr37121-seens-this-value-a-lot.ll
todo-pr42422-phi-of-ops.ll
unreachable_block_infinite_loop.ll
verify-memoryphi.ll
volatile-nonvolatile.ll