https://bugs.llvm.org/show_bug.cgi?id=48642
Bug ID: 48642
Summary: Crash with LTO and
__attribute__((cpu_dispatch(generic, skylake)))
Product: new-bugs
Version: 11.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Created attachment 24332
--> https://bugs.llvm.org/attachment.cgi?id=24332&action=edit
Stack dump
source code:
__attribute__((cpu_dispatch(generic, skylake)))
void func(double * restrict x, double* restrict y, double* restrict z);
__attribute__((cpu_specific(generic, skylake)))
void func(double * restrict x, double* restrict y, double* restrict z) {
for(int i = 0; i < 8; i++) {
z[i] += x[i] + y[i];
}
}
command line:
clang -flto bug_cpu_dispatch_lto.c
See stack dump attached.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs