[llvm] r251291 - Loop Vectorizer - skipping "bitcast" before GEP

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 27 18:25:03 PDT 2015


>
>
>  ; First loop.
>  ;  #pragma clang loop interleave(disable) unroll(disable)
>  ;  for(int i = 0; i < n; i++) {
> -;    out[i] = in[i];
> +;    out[i] = *in[i];
>  ;  }
>
>  ; Second loop.
>  ;  #pragma clang loop unroll(disable)
>  ;  for(int i = 0; i < n; i++) {
> -;    out[i] = in[i];
> +;    out[i] = *in[i];
>  ;  }
>
>
As a start in looking at this (since it was reverted, but before you apply
again), why did you regenerate the testcase with different beginning code?
It doesn't make sense.

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151028/ba85dc44/attachment.html>


More information about the llvm-commits mailing list