llvm-project/llvm/test/Transforms/Reassociate
Erik Verbruggen 2b98bd2a80 Reassociate x + -0.1234 * y into x - 0.1234 * y
This does not require -ffast-math, and it gives CSE/GVN more options to
eliminate duplicate expressions in, e.g.:

  return ((x + 0.1234 * y) * (x - 0.1234 * y));

Differential Revision: http://reviews.llvm.org/D4904

llvm-svn: 216169
2014-08-21 10:45:30 +00:00
..
2002-05-15-AgressiveSubMove.ll [Reassociate] FileCheckize and cleanup a few testcases. No functional change 2014-06-11 18:28:45 +00:00
2002-05-15-MissedTree.ll [Reassociate] FileCheckize and cleanup a few testcases. No functional change 2014-06-11 18:28:45 +00:00
2002-05-15-SubReassociate.ll [Reassociate] FileCheckize and cleanup a few testcases. No functional change 2014-06-11 18:28:45 +00:00
2002-07-09-DominanceProblem.ll
2003-08-12-InfiniteLoop.ll
2005-09-01-ArrayOutOfBounds.ll [Reassociate] FileCheckize and cleanup a few testcases. No functional change 2014-06-11 18:28:45 +00:00
2006-04-27-ReassociateVector.ll [Reassociate] FileCheckize and cleanup a few testcases. No functional change 2014-06-11 18:28:45 +00:00
2011-01-26-UseAfterFree.ll
2012-05-08-UndefLeak.ll
2012-06-08-InfiniteLoop.ll
absorption.ll
basictest.ll [Reassociate] FileCheckize and cleanup a few testcases. No functional change 2014-06-11 18:28:45 +00:00
crash.ll
fast-AgressiveSubMove.ll [Reassociation] Add support for reassociation with unsafe algebra. 2014-08-14 15:23:01 +00:00
fast-ArrayOutOfBounds.ll [Reassociation] Add support for reassociation with unsafe algebra. 2014-08-14 15:23:01 +00:00
fast-MissedTree.ll [Reassociation] Add support for reassociation with unsafe algebra. 2014-08-14 15:23:01 +00:00
fast-ReassociateVector.ll [Reassociation] Add support for reassociation with unsafe algebra. 2014-08-14 15:23:01 +00:00
fast-SubReassociate.ll [Reassociation] Add support for reassociation with unsafe algebra. 2014-08-14 15:23:01 +00:00
fast-basictest.ll Reassociate x + -0.1234 * y into x - 0.1234 * y 2014-08-21 10:45:30 +00:00
fast-fp-commute.ll [Reassociation] Add support for reassociation with unsafe algebra. 2014-08-14 15:23:01 +00:00
fast-mightymul.ll [Reassociation] Add support for reassociation with unsafe algebra. 2014-08-14 15:23:01 +00:00
fast-multistep.ll [Reassociation] Add support for reassociation with unsafe algebra. 2014-08-14 15:23:01 +00:00
fp-commute.ll [Reassociate] FileCheckize and cleanup a few testcases. No functional change 2014-06-11 18:28:45 +00:00
inverses.ll
liftsign.ll Reassociate x + -0.1234 * y into x - 0.1234 * y 2014-08-21 10:45:30 +00:00
looptest.ll [Reassociate] FileCheckize and cleanup a few testcases. No functional change 2014-06-11 18:28:45 +00:00
mightymul.ll [Reassociate] FileCheckize and cleanup a few testcases. No functional change 2014-06-11 18:28:45 +00:00
mulfactor.ll
multistep.ll [Reassociate] FileCheckize and cleanup a few testcases. No functional change 2014-06-11 18:28:45 +00:00
negation.ll [Reassociate] FileCheckize and cleanup a few testcases. No functional change 2014-06-11 18:28:45 +00:00
no-op.ll
optional-flags.ll
otherops.ll [Reassociate] FileCheckize and cleanup a few testcases. No functional change 2014-06-11 18:28:45 +00:00
pr12245.ll
repeats.ll
secondary.ll
shift-factor.ll [Reassociate] FileCheckize and cleanup a few testcases. No functional change 2014-06-11 18:28:45 +00:00
shifttest.ll
subtest.ll [Reassociate] FileCheckize and cleanup a few testcases. No functional change 2014-06-11 18:28:45 +00:00
xor_reassoc.ll