Rename metadata llvm.loop.vectorize.unroll to llvm.loop.vectorize.interleave

Mark Heffernan meheff at google.com
Fri Jul 18 13:44:00 PDT 2014


This patch rename metadata llvm.loop.vectorize.unroll to
llvm.loop.vectorize.interleave to avoid confusion with the concatenation
unroller metadata (llvm.loop.unroll).  It fell out of a discussion on patch
http://reviews.llvm.org/D4576.  On that patch there was some confusion
about whether llvm.loop.vectorize.unroll controlled the traditional
(concatenation) loop unroller.  And IIRC this isn't the first time there
has been this confusion.  Renaming vectorize.unroll to vectorize.interleave
also more closely matches the pragma which generates the metadata  (#pragma
clang loop interleave_count).  There are still lots of uses of "unroll"
within the code in function/variable names and comments.  I have no
intention of changing those.

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140718/f4b6b44b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rename.llvm.patch
Type: text/x-patch
Size: 7701 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140718/f4b6b44b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rename.clang.patch
Type: text/x-patch
Size: 4034 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140718/f4b6b44b/attachment-0001.bin>


More information about the cfe-commits mailing list