[PATCH] [Reassocate] Add initial support for vector instructions.

Robert Lougher rob.lougher at gmail.com
Wed Feb 11 10:02:05 PST 2015


Hi mcrosier,

This patch adds initial support for vector instructions to the reassociation pass.  It enables most parts of the pass to work with vectors but to keep the size of the patch small, optimization of Xor trees, canonicalization of negative constants and converting shifts to muls, etc., have been left out.  This will be handled in later patches.

The patch is based on an initial patch by Chad Crosier (see http://reviews.llvm.org/D5222).

--
Robert Lougher
SN Systems - Sony Computer Entertainment Group

http://reviews.llvm.org/D7566

Files:
  lib/Transforms/Scalar/Reassociate.cpp
  test/Transforms/Reassociate/fast-ReassociateVector.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7566.19769.patch
Type: text/x-patch
Size: 13790 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150211/8d37ece7/attachment.bin>


More information about the llvm-commits mailing list