<div dir="ltr"><div dir="ltr">On Mon, Apr 1, 2019 at 11:52 AM Matt Arsenault <<a href="mailto:arsenm2@gmail.com">arsenm2@gmail.com</a>> wrote:<br></div><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 style="word-wrap:break-word;line-break:after-white-space"><br><div><br><blockquote type="cite"><div>On Apr 1, 2019, at 11:30 AM, Cameron McInally via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="gmail-m_3189214083923998011Apple-interchange-newline"><div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">What did you have in mind? I was not aware that there is work pending.</div><br class="gmail-m_3189214083923998011Apple-interchange-newline"></div></blockquote></div><br><div>As far as I know, fneg isn’t constant folded. </div></div></blockquote><div><br></div><div>Ah, yes. I did know that, but forgot. It's now on my todo list...</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 style="word-wrap:break-word;line-break:after-white-space"><div>The tests haven’t been migrated, and clang is still emitting fsub -0.0, x. I’m not sure what the state of the rest of the optimizations is, but I just remember the initial instruction getting added.</div></div></blockquote><div><br></div><div>Huh, I did not know this. I thought I did a visual inspection and saw that FNeg IR was being generated by Clang, but I'm probably wrong. Also on my todo list now. </div><div><br></div><div>Thanks, Matt!</div></div></div>