llvm-project/llvm/test/Transforms/Reassociate
Mehdi Amini 9730116bd6 Reassociate: cannot negate a INT_MIN value
Summary:
When trying to canonicalize negative constants out of
multiplication expressions, we need to check that the
constant is not INT_MIN which cannot be negated.

Reviewers: mcrosier

Reviewed By: mcrosier

Subscribers: llvm-commits

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

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 228872
2015-02-11 19:54:44 +00:00
..
2002-05-15-AgressiveSubMove.ll
2002-05-15-MissedTree.ll Revert "[Reassociate] As the expression tree is rewritten make sure the operands are" 2014-11-19 23:21:20 +00:00
2002-05-15-SubReassociate.ll Revert "[Reassociate] As the expression tree is rewritten make sure the operands are" 2014-11-19 23:21:20 +00:00
2002-07-09-DominanceProblem.ll
2003-08-12-InfiniteLoop.ll
2005-09-01-ArrayOutOfBounds.ll
2006-04-27-ReassociateVector.ll [Reassociate] Canonicalize constants to RHS operand. 2014-11-14 17:05:59 +00:00
2011-01-26-UseAfterFree.ll
2012-05-08-UndefLeak.ll
2012-06-08-InfiniteLoop.ll
absorption.ll
basictest.ll Revert "[Reassociate] As the expression tree is rewritten make sure the operands are" 2014-11-19 23:21:20 +00:00
canonicalize-neg-const.ll Revert "[Reassociate] As the expression tree is rewritten make sure the operands are" 2014-11-19 23:21:20 +00:00
commute.ll Revert "[Reassociate] As the expression tree is rewritten make sure the operands are" 2014-11-19 23:21:20 +00:00
crash.ll
crash2.ll Fix Reassociate handling of constant in presence of undef float 2015-01-16 03:00:58 +00:00
fast-AgressiveSubMove.ll [Reassociate] Canonicalize constants to RHS operand. 2014-11-17 15:52:51 +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 [Reassociate] Canonicalize operands of vector binary operators. 2014-11-14 17:08:15 +00:00
fast-SubReassociate.ll Revert "[Reassociate] As the expression tree is rewritten make sure the operands are" 2014-11-19 23:21:20 +00:00
fast-basictest.ll Revert "[Reassociate] As the expression tree is rewritten make sure the operands are" 2014-11-19 23:21:20 +00:00
fast-fp-commute.ll Revert "[Reassociate] As the expression tree is rewritten make sure the operands are" 2014-11-19 23:21:20 +00:00
fast-mightymul.ll [Reassociation] Add support for reassociation with unsafe algebra. 2014-08-14 15:23:01 +00:00
fast-multistep.ll Revert "[Reassociate] As the expression tree is rewritten make sure the operands are" 2014-11-19 23:21:20 +00:00
fp-commute.ll
inverses.ll
looptest.ll
mightymul.ll
min_int.ll Reassociate: cannot negate a INT_MIN value 2015-02-11 19:54:44 +00:00
mixed-fast-nonfast-fp.ll Revert "[Reassociate] As the expression tree is rewritten make sure the operands are" 2014-11-19 23:21:20 +00:00
mulfactor.ll
multistep.ll Revert "[Reassociate] As the expression tree is rewritten make sure the operands are" 2014-11-19 23:21:20 +00:00
negation.ll
negation1.ll Give the Reassociate pass a bit more flexibility and autonomy when optimizing expressions. 2014-10-05 23:41:26 +00:00
no-op.ll Revert "[Reassociate] As the expression tree is rewritten make sure the operands are" 2014-11-19 23:21:20 +00:00
optional-flags.ll Revert "[Reassociate] As the expression tree is rewritten make sure the operands are" 2014-11-19 23:21:20 +00:00
otherops.ll
pr12245.ll
pr21205.ll [Reassociate] Don't canonicalize X - undef to X + (-undef). 2014-10-09 20:06:29 +00:00
repeats.ll
secondary.ll
shift-factor.ll Revert "[Reassociate] As the expression tree is rewritten make sure the operands are" 2014-11-19 23:21:20 +00:00
shifttest.ll
subtest.ll Revert "[Reassociate] As the expression tree is rewritten make sure the operands are" 2014-11-19 23:21:20 +00:00
wrap-flags.ll [Reassociate] Canonicalize negative constants out of expressions. 2014-11-11 22:58:35 +00:00
xor_reassoc.ll Revert "[Reassociate] As the expression tree is rewritten make sure the operands are" 2014-11-19 23:21:20 +00:00