[LLVMdev] LLVM Loop Vectorizer

Nadav Rotem nrotem at apple.com
Fri Oct 5 13:03:28 PDT 2012

I prefer not to drill down into the design of the vectorizer yet, but I think that a cannonicalization phase before the vectorization can handle these cases. 

On Oct 5, 2012, at 10:33 AM, Shuxin Yang <shuxin.llvm at gmail.com> wrote:

> >I think that the first step would be to expose Target Lowering Interface (TLI) to OPT's IR-level passes. 
> By "lowering", we assume the bitcode is more abstract than the machine code. However, in some situations, it is just opposite. For instance, some architectures support vectorization of min/max/saturated-{add,sub)/conditional-assignment/etc/../etc. We need to detect such machine dependent patterns, and *PROMOTE* the bitcode into right forms before we are able to vectorize them. How to deal with this situation? 
> Shuxin 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121005/beaf93b9/attachment.html>

More information about the llvm-dev mailing list