Displaying 1 result from an estimated 1 matches for "arraysum".
2019 Nov 28
2
SLP example not being vectorized
...Is there
anything I am missing? I am using Clearlinux as build machine and this
has clang version 9.0.0.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$ cat arraysum.c
void foo(int a1, int a2, int b1, int b2, int *A) {
A[0] = a1*(a1 + b1)/b1 + 50*b1/a1;
A[1] = a2*(a2 + b2)/b2 + 50*b2/a2;
}
$ clang -emit-llvm -S -O3 arraysum.c -o -
; ModuleID = 'arraysum.c'
source_filename = "arraysum.c"
target datalayout = "e-m:e-i64:64-f80:128-n8...