[llvm] f0c2a5a - [LV] Generalize conditions for sinking instrs for first order recurrences.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 7 12:56:10 PST 2019



> On Nov 7, 2019, at 11:17, Hans Wennborg <hans at chromium.org> wrote:
> 
> Here's a creduced version of the original repro:
> 
> $ cat /tmp/b.i
> a;
> char b;
> c() {
>  char *d;
>  for (;; d = a) {
>    int e, f, g, h;
>    for (; h < b; h++) {
>      g = f;
>      f = e + 1;
>      e = d[2] = g;
>    }
>  }
> }
> $ bin/clang.bad -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -O2
> -std=c11 -fsanitize=address,leak -vectorize-loops -vectorize-slp
> /tmp/b.i



Thanks, I’ll take a look.


More information about the llvm-commits mailing list