llvm-project/llvm/test/Transforms/Reassociate
Sanjay Patel 4ca25c66d4 [Reassociate] prevent partial undef negation replacement
As shown in the examples in issue #57683, we allow matching
vectors with poison (undef) in this transform (and possibly more),
but we can't then use the partially defined value as a replacement
value in other expressions blindly.

This seems to be avoided in simpler examples of reassociation,
and other passes should be able to clean up the redundant op
seen in these tests.
2022-09-12 12:28:34 -04: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
2019-08-22-FNegAssert.ll
absorption.ll
add-like-or.ll [Reassociate] allow or->add with shl operands 2021-02-07 09:45:19 -05:00
add_across_block_crash.ll
basictest.ll
binop-identity.ll
callbr.ll [Reassociate] Use getInsertionPointerAfterDef() 2022-08-31 11:10:24 +02:00
canonicalize-neg-const.ll
commute.ll
crash.ll
crash2.ll [ConstantExpr] Don't create fneg expressions 2022-09-07 11:27:25 +02:00
cse-pairs.ll
deadcode.ll
erase_inst_made_change.ll
factorize-again.ll
fast-AgressiveSubMove.ll
fast-ArrayOutOfBounds.ll
fast-MissedTree.ll
fast-ReassociateVector.ll [Reassociate] Cleanup minor missed optimizations 2022-07-14 08:21:04 -07:00
fast-SubReassociate.ll
fast-basictest.ll [Reassociate] Enable FP reassociation via 'reassoc' and 'nsz' 2022-07-15 11:44:35 -07:00
fast-fp-commute.ll
fast-mightymul.ll
fast-multistep.ll
fp-commute.ll
fp-expr.ll
infloop-deadphi.ll
inverses.ll
keep-debug-loc.ll
load-combine-like-or.ll
long-chains.ll
looptest.ll
matching-binops.ll
mightymul.ll
min_int.ll
mixed-fast-nonfast-fp.ll
mulfactor.ll
multistep.ll
negation.ll [Reassociate] prevent partial undef negation replacement 2022-09-12 12:28:34 -04:00
negation1.ll
no-op.ll
optional-flags.ll
otherops.ll
pointer-collision-non-determinism.ll
pr12245.ll
pr21205.ll
pr28367.ll
pr42349.ll [Reassociate] Cleanup minor missed optimizations 2022-07-14 08:21:04 -07:00
propagate-flags.ll
reassoc-intermediate-fnegs.ll
reassociate-catchswitch.ll
reassociate-deadinst.ll
reassociate-landingpad.ll
reassociate_dbgvalue_discard.ll
reassociate_salvages_debug_info.ll
repeats.ll
secondary.ll
shift-factor.ll
shifttest.ll
subtest.ll
undef_intrinsics_when_deleting_instructions.ll Partial Reapply "[DebugInfo] Use variadic debug values to salvage BinOps and GEP instrs with non-const operands" 2021-06-24 09:46:38 +01:00
vaarg_movable.ll
wrap-flags.ll
xor_reassoc.ll