[PATCH] Reducing the costs of cast instructions to enable more vectorization of smaller types in LoopVectorize
sam.parker at arm.com
Fri Jun 19 00:52:08 PDT 2015
I have changed the algorithms so that they are not recursive. The first pass checks all the instructions top-down and assigns a potential (TBC) narrow type. The second pass then searches bottom up from truncs to confirm, or adjust, the narrow type. I've also added support for sub, ashr and lshr instructions, but would really appreciate my logic being confirmed.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 33903 bytes
Desc: not available
More information about the llvm-commits