https://bugs.llvm.org/show_bug.cgi?id=38528
Bug ID: 38528
Summary: llvm.sin.v4f32 with -vector-library=SVML fails to
lower to SVM function call
Product: new-bugs
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: gonzalob...@gmail.com
CC: chandl...@gmail.com, hfin...@anl.gov,
llvm-bugs@lists.llvm.org, llvm-...@redking.me.uk,
spatel+l...@rotateright.com
Given
define <4 x float> @sin_4x32(<4 x float> %a) {
%b = tail call <4 x float> @llvm.sin.v4f32(<4 x float> %a)
ret <4 x float> %b
}
declare <4 x float> @llvm.sin.v4f32(<4 x float>)
this always produces a sequence of 4 libm sinf calls when calling opt and/or
llc with -vector-library=SVML .
Instead, this should just lower to a call to the appropriate SVML (or
accelerate, libmvec, ...) instruction instead.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs