[PATCH] Add diagnostics to the loop vectorizer cost model

Tyler Nowicki tnowicki at apple.com
Fri Aug 1 16:52:46 PDT 2014


Hi,

Here is a patch that adds diagnostics to the vectorizer cost model. When the cost model determines vectorization is not possible/profitable these remarks print an analysis of that decision. I include one test. It is difficult to find tests that fail at this point. If you know of any please let me know and I will include them.

Note that in selectVectorizationFactor() we can assume that OptForSize and ForceVectorization are mutually exclusive.

Tyler

-------------- next part --------------
A non-text attachment was scrubbed...
Name: diagnostics_in_cost_model-svn.patch
Type: application/octet-stream
Size: 10485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140801/c85f45fa/attachment.obj>


More information about the llvm-commits mailing list