https://bugs.llvm.org/show_bug.cgi?id=51530
Bug ID: 51530
Summary: fveclib=libmvec not handling sincos
Product: OpenMP
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Clang Compiler Support
Assignee: unassignedclangb...@nondot.org
Reporter: xw111lu...@gmail.com
CC: llvm-bugs@lists.llvm.org
sincos is actually very frequently used when both sin and cos values are both
needed.
$ clang++ -fopenmp -fveclib=libmvec -O3 -ffast-math -march=native
sincos_simd.cpp
sincos_simd.cpp:9:5: warning: loop not vectorized: the optimizer was unable to
perform the requested transformation; the transformation might be disabled or
specified as part of an unsupported transformation ordering
[-Wpass-failed=transform-warning]
libmvec has been providing sincos for at least 5 years.
reproducers are
https://github.com/ye-luo/openmp-target/blob/master/tests/math/sincos_simd.cpp
https://github.com/ye-luo/openmp-target/blob/master/tests/math/sincos_simd_template.cpp
--
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