[llvm-commits] [llvm] r154735 - in /llvm/trunk: lib/Transforms/Vectorize/BBVectorize.cpp test/Transforms/BBVectorize/no-ldstr-conn.ll

Duncan Sands baldrick at free.fr
Sat Apr 14 04:53:58 PDT 2012


Hi Hal,

> Fix an error in BBVectorize important for vectorizing pointer types.
>
> When vectorizing pointer types it is important to realize that potential
> pairs cannot be connected via the address pointer argument of a load or store.
> This is because even after vectorization, the address is still a scalar because
> the address of the higher half of the pair is implicit from the address of the
> lower half (it need not be, and should not be, explicitly computed).

I guess this is a limitation of LLVM's vector support: if the argument to a
load was a vector of pointers (the result being the vector of loaded values)
then this wouldn't be needed, right?

In fact, maybe you should make a list of any irregularities you notice in LLVM's
vector support in view of improving the IR language in the future.

Ciao, Duncan.



More information about the llvm-commits mailing list