<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - "LLVM triggered Diagnostic Handler: unsupported call to function ldexpf in main" when starting race in stuntrally"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92709#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - "LLVM triggered Diagnostic Handler: unsupported call to function ldexpf in main" when starting race in stuntrally"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92709">bug 92709</a>
from <span class="vcard"><a class="email" href="mailto:arsenm2@gmail.com" title="Matt Arsenault <arsenm2@gmail.com>"> <span class="fn">Matt Arsenault</span></a>
</span></b>
<pre>(In reply to Michel Dänzer from <a href="show_bug.cgi?id=92709#c1">comment #1</a>)
<span class="quote">> This happens since Mesa commit d72a26ec ("radeonsi: don't emit AMDGPU
> intrinsics for EX2, ROUND, TRUNC") because the LLVM function
> LibCallSimplifier::optimizeExp2() replaces the llvm.exp2.f32 call (which
> could be handled by the AMDGPU backend AFAICT) with an ldexpf one.</span >
This is one of those annoying cases where ldexp doesn't have an equivalent
generic ISD node. We should probably add one and use it for the libcall and
handle it like most of the other math LibFuncs.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>