Sara Elshobaky
2013-Dec-27 14:18 UTC
[LLVMdev] Need a loop example requiring a runtime memory check while vectorizing
Hello, I'm checking the code of the loop vectorizer pass and specially on the 'LoopVectorizationLegality', 'CanVectorizeMemroy()' . I would really appreciate if you can give me a C code example for a loop where the Vectorization is possible but we need a runtime memory check. Thanks in advance Sara Elshobaky -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131227/9ecaf841/attachment.html>
Benjamin Kramer
2013-Dec-27 14:50 UTC
[LLVMdev] Need a loop example requiring a runtime memory check while vectorizing
On 27.12.2013, at 15:18, Sara Elshobaky <sara.elshobaky at gmail.com> wrote:> Hello, > I’m checking the code of the loop vectorizer pass and specially on the ‘LoopVectorizationLegality’, ‘CanVectorizeMemroy()’ . > I would really appreciate if you can give me a C code example for a loop where the Vectorization is possible but we need a runtime memory check.http://llvm.org/docs/Vectorizers.html#runtime-checks-of-pointers has an example. - Ben