<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<div class="moz-cite-prefix">On 05/15/2018 04:37 PM, Brian Homerding
via llvm-commits wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPyBy7YSOotxRx1qEjB9v_Megq0CA9_s1RpwgSXD4r9x04eswQ@mail.gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div dir="ltr">I have spoken to John about the UB. He asked if we
wanted the change upstream also and I had left it up to him. If
this is a concern I will follow up on making the change upstream
as well.</div>
</blockquote>
<br>
We should, to the extent possible, have these changes made upstream
as well.<br>
<br>
-Hal<br>
<br>
<blockquote type="cite"
cite="mid:CAPyBy7YSOotxRx1qEjB9v_Megq0CA9_s1RpwgSXD4r9x04eswQ@mail.gmail.com">
<div dir="ltr">
<div><br>
</div>
<div>Brian</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, May 15, 2018 at 3:49 PM, Davide
Italiano <span dir="ltr"><<a
href="mailto:davide@freebsd.org" target="_blank"
moz-do-not-send="true">davide@freebsd.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span
class="">On Tue, May 15, 2018 at 1:42 PM, Brian Homerding
via llvm-commits<br>
<<a href="mailto:llvm-commits@lists.llvm.org"
moz-do-not-send="true">llvm-commits@lists.llvm.org</a>>
wrote:<br>
> Author: homerdin<br>
> Date: Tue May 15 13:42:38 2018<br>
> New Revision: 332395<br>
><br>
> URL: <a
href="http://llvm.org/viewvc/llvm-project?rev=332395&view=rev"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://llvm.org/viewvc/llvm-<wbr>project?rev=332395&view=rev</a><br>
> Log:<br>
> [test-suite][ubsan] Remove optimization that causes
UB in SimpleMOC.<br>
><br>
> This patch replaces the hand written ceil() with a
call to ceilf(). This small<br>
> optimization is outside the primary kernel and should
show little to no<br>
> difference in performance for the test suite.
Previously the UB was only used<br>
> in an '==' comparison for an early exit from the loop
and had no effect on the<br>
> program behavior.<br>
><br>
<br>
</span>Have you considered making this change upstream and
back porting? I'd<br>
rather not create unnecessary divergencies, if possible.<br>
<a href="https://github.com/ANL-CESAR/SimpleMOC"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://github.com/ANL-CESAR/<wbr>SimpleMOC</a><br>
<br>
--<br>
Davide<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
llvm-commits mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Hal Finkel
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory</pre>
</body>
</html>