search for: rk_pointeradd

Displaying 2 results from an estimated 2 matches for "rk_pointeradd".

2013 Oct 14
0
[LLVMdev] Vectorization of pointer PHI nodes
Hi Renato, Thanks for working on this. As you said, we don't support pointer reductions. Handling pointer reductions should be straightforward. You can copy the logic for handling RK_IntegerAdd and create a new enum entry for RK_PointerAdd. You will need to detect the relevant patterns (GEP probably) and implement the cost model and vectorization parts. You will need to generate vector-geps that represent the pointer increment. Vector-GEPs are rare and this may trigger bugs in other parts of the compiler (Vector GEPs usually live b...
2013 Oct 14
4
[LLVMdev] Fwd: Vectorization of pointer PHI nodes
Hi Nadav, Arnold, (now copying LLVM-dev, not commits), I'm working on an example of a code that current GCC trunk can vectorize but LLVM cannot, and after analysing the intermediate IR just before the loop vectorization and by stepping through the process, I can see that the vectorizer only recognizes integer and float reduction variables, not pointers. My code looks like this: for (i: 0