[LLVMdev] Need a loop example requiring a runtime memory check while vectorizing
Benjamin Kramer
benny.kra at gmail.com
Fri Dec 27 06:50:18 PST 2013
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
More information about the llvm-dev
mailing list