[Reassociation] Add support for reassociation with unsafe algebra.
authorChad Rosier <mcrosier@codeaurora.org>
Thu, 14 Aug 2014 15:23:01 +0000 (15:23 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Thu, 14 Aug 2014 15:23:01 +0000 (15:23 +0000)
commit3b41039163185475945c4e3e970783014cc0975b
treef5faafff58b7918b383c26bc2d045d62e203fa97
parent9615d702ad44f5cd3b63bb54a766f6d6ac047cb1
[Reassociation] Add support for reassociation with unsafe algebra.

Vector instructions are (still) not supported for either integer or floating
point.  Hopefully, that work will be landed shortly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215647 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/Reassociate.cpp
test/Transforms/Reassociate/fast-AgressiveSubMove.ll [new file with mode: 0644]
test/Transforms/Reassociate/fast-ArrayOutOfBounds.ll [new file with mode: 0644]
test/Transforms/Reassociate/fast-MissedTree.ll [new file with mode: 0644]
test/Transforms/Reassociate/fast-ReassociateVector.ll [new file with mode: 0644]
test/Transforms/Reassociate/fast-SubReassociate.ll [new file with mode: 0644]
test/Transforms/Reassociate/fast-basictest.ll [new file with mode: 0644]
test/Transforms/Reassociate/fast-fp-commute.ll [new file with mode: 0644]
test/Transforms/Reassociate/fast-mightymul.ll [new file with mode: 0644]
test/Transforms/Reassociate/fast-multistep.ll [new file with mode: 0644]