<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">LGTM. <div><br><div><div>On Mar 25, 2013, at 3:31 PM, Shuxin Yang <<a href="mailto:shuxin.llvm@gmail.com">shuxin.llvm@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Hi, There:<br><br>   The attached patch disable some unsafe-fp-math DAG-combine transformation after legalization.<br>For instance, following transformation is disabled:<br>    x + x + x => 3.0f * x;<br><br>  The problem of these transformations is that it introduces a FP constant, which<br>following Instruction-Selection pass cannot handle.<br><br>   This patch is stress-tested by running SingleSource/MultiSource with<br>EnableUnsafeFPMath (@include/llvm/CodeGen/CommandFlags.h) being hard-coded to true.<br><br><a href="rdar://13445387">rdar://13445387</a><br><br>Thanks<br>Shuxin<br><span><llc_unsafe_fp_math.patch></span>_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a></div></blockquote></div><br></div></body></html>