[llvm] r184684 - LoopVectorize: Add utility class for checking dependency among accesses

Chandler Carruth chandlerc at google.com
Mon Jul 1 11:50:39 PDT 2013


On Mon, Jul 1, 2013 at 11:45 AM, Preston Briggs <preston.briggs at gmail.com>wrote:

> I try to take advantage of GEPs if they exist and if they are the same
> type.


But the type of GEPs gives you no information. I don't know how you can use
them in any real way.... I can go read the code again to try to give
examples if needed.

I think the confusion is that fundamentally, GEPs are just a shorthand for
addressing arithmetic. They impose no interesting contraints above or
beyond a sequence of add and multiply instructions. You can't conclude
anything special from them other than the offset that results from this
math. In particular they don't convey any actual constraints on the
structure of memory being addressed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130701/8a09bbf1/attachment.html>


More information about the llvm-commits mailing list