<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Oct 2, 2018 at 1:06 PM Cameron McInally <<a href="mailto:cameron.mcinally@nyu.edu" target="_blank">cameron.mcinally@nyu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">On Mon, Oct 1, 2018 at 5:41 PM Sanjay Patel <<a href="mailto:spatel@rotateright.com" target="_blank">spatel@rotateright.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I don't see any controversy for the preliminary requirement of removing <span class="m_2605406601264266863m_6839307985130824332gmail-m_-6780957109375670708gmail-im">BinaryOperator::isFNeg() and friends, so start with that?</span></div><div><span class="m_2605406601264266863m_6839307985130824332gmail-m_-6780957109375670708gmail-im">That work may reveal other potential regressions that we can patch in advance too.</span></div></div></blockquote><div><br></div><div>This is true and I will agree to do this work...</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><span class="m_2605406601264266863m_6839307985130824332gmail-m_-6780957109375670708gmail-im">Other than that, I think there's really only a question of do we want 1 or both of fneg and fneg_constrained (and if we choose both, then I assume we'd also add fabs_constrained and copysign_constrained). </span></div></div></blockquote><div><br></div><div>but this is the real goal. Doing the BinaryOperator::isFNeg() work is in vain if we don't have at least a conditional approval of an explicit FNEG IR instruction. </div><div><br></div><div>Would it be possible to obtain that conditional approval before work begins? That seems most prudent.</div></div></div></div></blockquote><div><br></div><div>I can't speak for anyone else, but I approve for the same reasons that were mentioned early on: fneg makes the intended behavior and potential transforms easier to discern.<br></div><div><br></div><div>I don't have much knowledge of the problems/requirements in the constrained environment, so I'll leave the constrained counterpart decision to people who are working on that.<br></div><div><br></div><div><br></div><div> </div></div></div>