[Reassociate] Canonicalize the operands of all binary operators.
authorChad Rosier <mcrosier@codeaurora.org>
Fri, 14 Nov 2014 17:09:19 +0000 (17:09 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Fri, 14 Nov 2014 17:09:19 +0000 (17:09 +0000)
commit5c76b3d03ea9b7ba49d0a0786d4546470fcf0bdf
tree1b18344c053e393c2fff829f1852b19edfef3a60
parente968287996549fc3ad3746bd00b889ff69409f8c
[Reassociate] Canonicalize the operands of all binary operators.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222008 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/Reassociate.cpp
test/Transforms/Reassociate/commute.ll [new file with mode: 0644]
test/Transforms/Reassociate/multistep.ll