<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><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">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">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">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">https://github.com/ANL-CESAR/<wbr>SimpleMOC</a><br>
<br>
--<br>
Davide<br>
</blockquote></div><br></div>