llvm-6502/test/Transforms/Reassociate
Mehdi Amini 23af697ae6 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>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228872 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-11 19:54:44 +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
basictest.ll
canonicalize-neg-const.ll
commute.ll
crash2.ll
crash.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
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
mulfactor.ll
multistep.ll
negation1.ll
negation.ll
no-op.ll
optional-flags.ll
otherops.ll
pr12245.ll
pr21205.ll
repeats.ll
secondary.ll
shift-factor.ll
shifttest.ll
subtest.ll
wrap-flags.ll
xor_reassoc.ll