<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:david.majnemer@gmail.com" title="David Majnemer <david.majnemer@gmail.com>"> <span class="fn">David Majnemer</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - LLVM opt and ordering of floating point conversions with potential overflow"
href="https://llvm.org/bugs/show_bug.cgi?id=23115">bug 23115</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>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WORKSFORME
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - LLVM opt and ordering of floating point conversions with potential overflow"
href="https://llvm.org/bugs/show_bug.cgi?id=23115#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - LLVM opt and ordering of floating point conversions with potential overflow"
href="https://llvm.org/bugs/show_bug.cgi?id=23115">bug 23115</a>
from <span class="vcard"><a class="email" href="mailto:david.majnemer@gmail.com" title="David Majnemer <david.majnemer@gmail.com>"> <span class="fn">David Majnemer</span></a>
</span></b>
<pre>Matt, I ran the following IR through trunk opt -O2 and nothing happened:
define void @f(i32 %.ndi0002.addr.0, i8* %.G0001.addr.0) {
%add = add i32 %.ndi0002.addr.0, 1
%sitofp = sitofp i32 %add to float
%fadd = fadd float %sitofp, 1.000000e+00
%gep = getelementptr i8, i8* %.G0001.addr.0, i64 -28
%bitcast = bitcast i8* %gep to float*
store float %fadd, float* %bitcast, align 4
ret void
}
My guess is that we fixed this a long time ago.
Please reopen if you can reproduce on trunk and attach the reproduction to the
report, thanks.</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>