https://bugs.llvm.org/show_bug.cgi?id=44770
Bug ID: 44770
Summary: Library vectorization broken with new pass manager
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Loop Optimizer
Assignee: unassignedb...@nondot.org
Reporter: benny....@gmail.com
CC: francesco.petroga...@arm.com, jdoerf...@anl.gov,
llvm-bugs@lists.llvm.org
$ cat veclib.c
void foo(float *a) {
for (int i = 0; i != 1024; ++i)
a[i] = __builtin_expf(a[i]);
}
$ clang -O3 -S -o - veclib.c -fveclib=Accelerate
-fexperimental-new-pass-manager|grep vexpf
$ clang -O3 -S -o - veclib.c -fveclib=Accelerate |grep vexpf
callq vexpf
callq vexpf
The reason seems to be that InjectTLIMappings never runs.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs