[LLVMdev] [PATCH] parallel loop awareness to the LoopVectorizer

Pekka Jääskeläinen pekka.jaaskelainen at tut.fi
Mon Jan 28 03:58:51 PST 2013


Hi,

Attached is a patch which uses a simple "parallel_loop" metadata attached
to the loop branch instruction in the loop latch for skipping cross-iteration
memory dependency checking in the LoopVectorizer. This was briefly discussed
in the email thread "LoopVectorizer in OpenCL C work group autovectorization".

It also converts the "min iteration count to vectorize" to a parameter so
this can be controlled from the command line.

Comments welcomed.

Thanks in advance,
-- 
Pekka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-3.3-loopvectorizer-parallel_for-metadata-detection.patch
Type: text/x-patch
Size: 2049 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130128/f580afe7/attachment.bin>


More information about the llvm-dev mailing list