[Reassociate] Canonicalize constants to RHS operand.
authorChad Rosier <mcrosier@codeaurora.org>
Fri, 14 Nov 2014 17:05:59 +0000 (17:05 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Fri, 14 Nov 2014 17:05:59 +0000 (17:05 +0000)
commitf8b55f1bc5aa5278716a77bcd02915e0d1e757ab
tree19f9b35dcb7805e471d6805d3a50375dae1f3509
parent477e42a6fb199f61c6299851064ef18f15b86815
[Reassociate] Canonicalize constants to RHS operand.

llvm-svn: 222005
llvm/lib/Transforms/Scalar/Reassociate.cpp
llvm/test/Transforms/Reassociate/2006-04-27-ReassociateVector.ll
llvm/test/Transforms/Reassociate/canonicalize-neg-const.ll
llvm/test/Transforms/Reassociate/fast-ReassociateVector.ll