1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/Transforms/Reassociate
Daniel Sanders 147c4a69ed Fix non-determinism in Reassociate caused by address coincidences
Summary:
Between building the pair map and querying it there are a few places that
erase and create Values. It's rare but the address of these newly created
Values is occasionally the same as a just-erased Value that we already
have in the pair map. These coincidences should be accounted for to avoid
non-determinism.

Thanks to Roman Tereshin for the test case.

Reviewers: rtereshin, bogner

Reviewed By: rtereshin

Subscribers: mgrang, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D59401

llvm-svn: 356803
2019-03-22 20:16:35 +00:00
..
2002-05-15-AgressiveSubMove.ll
2002-05-15-MissedTree.ll
2002-05-15-SubReassociate.ll
2002-07-09-DominanceProblem.ll
2003-08-12-InfiniteLoop.ll
2005-09-01-ArrayOutOfBounds.ll
2006-04-27-ReassociateVector.ll
2011-01-26-UseAfterFree.ll
2012-05-08-UndefLeak.ll
2012-06-08-InfiniteLoop.ll
absorption.ll
add_across_block_crash.ll
basictest.ll
binop-identity.ll
canonicalize-neg-const.ll
commute.ll
crash2.ll
crash.ll
deadcode.ll
erase_inst_made_change.ll
factorize-again.ll
fast-AgressiveSubMove.ll
fast-ArrayOutOfBounds.ll
fast-basictest.ll
fast-fp-commute.ll
fast-mightymul.ll
fast-MissedTree.ll
fast-multistep.ll
fast-ReassociateVector.ll
fast-SubReassociate.ll
fp-commute.ll
fp-expr.ll [PatternMatch] Handle undef vectors consistently 2018-11-20 16:08:19 +00:00
infloop-deadphi.ll
inverses.ll [Reassociate] replace fake binop queries with 'match' API 2018-10-23 15:55:06 +00:00
keep-debug-loc.ll
long-chains.ll
looptest.ll
matching-binops.ll
mightymul.ll
min_int.ll
mixed-fast-nonfast-fp.ll
mulfactor.ll
multistep.ll
negation1.ll [Reassociate] add vector tests with undef elements; NFC 2018-10-22 22:04:13 +00:00
negation.ll [Reassociate] replace fake binop queries with 'match' API 2018-10-23 15:55:06 +00:00
no-op.ll
optional-flags.ll
otherops.ll
pointer-collision-non-determinism.ll Fix non-determinism in Reassociate caused by address coincidences 2019-03-22 20:16:35 +00:00
pr12245.ll
pr21205.ll
pr28367.ll
propagate-flags.ll
reassoc-intermediate-fnegs.ll
reassociate_dbgvalue_discard.ll
reassociate-deadinst.ll
repeats.ll
secondary.ll
shift-factor.ll
shifttest.ll
subtest.ll
vaarg_movable.ll
wrap-flags.ll
xor_reassoc.ll