<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:yyc1992@gmail.com" title="Yichao Yu <yyc1992@gmail.com>"> <span class="fn">Yichao Yu</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - 4.0 Regression in llvm.powi.f64 lowering on ARM"
href="https://llvm.org/bugs/show_bug.cgi?id=30543">bug 30543</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>INVALID
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - 4.0 Regression in llvm.powi.f64 lowering on ARM"
href="https://llvm.org/bugs/show_bug.cgi?id=30543#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - 4.0 Regression in llvm.powi.f64 lowering on ARM"
href="https://llvm.org/bugs/show_bug.cgi?id=30543">bug 30543</a>
from <span class="vcard"><a class="email" href="mailto:yyc1992@gmail.com" title="Yichao Yu <yyc1992@gmail.com>"> <span class="fn">Yichao Yu</span></a>
</span></b>
<pre>In another word if this is a frontend bug, it's also a bug in clang since the
following C program compiled with clang on ARM also produce 2.0
```
#include <stdio.h>
__attribute__((noinline)) double f(double v, int i)
{
return __builtin_powi(v, i);
}
int main()
{
printf("%f\n", f(2.0, 62));
return 0;
}
```
I'll be happy to follow the clang frontend fix.
(Request for reopening while keeping it as llvm arm backend for now since I
currently can't get any IR to produce the correct result.)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>