<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-07-10 16:53 GMT+02:00 escha <span dir="ltr"><<a href="mailto:escha@apple.com" target="_blank">escha@apple.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div class="h5"><div><br></div></div></div><div>If you write a target-specific combine that conflicts with a canonicalization, it’ll infinite loop because it’ll oscillate between the two forms.</div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span></div></blockquote><div><br></div><div>I saw that ;-)</div><div>However, I used DAGCombinerInfo::CombineTo(oldNode, newNode, false) to prevent DAGCombiner to add the returned SDValue to worklist and recombine it back to the canical form.</div><div>Did I miss the purpose of CombineTo ?</div><div><br></div><div>fred</div><div> </div><div><br></div></div></div></div>