Reapply "[Reassociate] Add initial support for vector instructions."
authorRobert Lougher <rob.lougher@gmail.com>
Fri, 13 Mar 2015 20:53:01 +0000 (20:53 +0000)
committerRobert Lougher <rob.lougher@gmail.com>
Fri, 13 Mar 2015 20:53:01 +0000 (20:53 +0000)
commitfe795a5d2015419953a2a314c7198e53a4d28740
tree44548f264bc412b9c1d5f9ec0564e42a7a586cbf
parent8b5546f6d51a09f33943f51bab7d1c4f90af8874
Reapply "[Reassociate] Add initial support for vector instructions."

This reapplies the patch previously committed at revision 232190.  This was
reverted at revision 232196 as it caused test failures in tests that did not
expect operands to be commuted.  I have made the tests more resilient to
reassociation in revision 232206.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232209 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/Reassociate.cpp
test/Transforms/Reassociate/fast-ReassociateVector.ll