<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 30, 2014 at 5:02 PM, Owen Anderson <span dir="ltr"><<a href="mailto:resistor@mac.com" target="_blank">resistor@mac.com</a>></span> wrote:<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 class="im"><br><div><div>On Jan 30, 2014, at 5:01 PM, David Blaikie <<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 30, 2014 at 4:51 PM, Owen Anderson <span dir="ltr"><<a href="mailto:resistor@mac.com" target="_blank">resistor@mac.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: resistor<br>
Date: Thu Jan 30 18:51:43 2014<br>
New Revision: 200503<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=200503&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=200503&view=rev</a><br>
Log:<br>
DAGCombine should not produce ISD::OR nodes after operation legalization if they're not legal.<br></blockquote><div><br></div><div>Is this not testable for some reason?</div></div></div></div></blockquote><br></div></div>
<div>No in-tree targets, to my knowledge, have a legal ISD::ADD but an illegal ISD::OR.</div></div></blockquote><div><br></div><div>Figured - and though it's a big ask (& not an immediate issue, just out of general curiosity) I don't suppose there's any chance of unit testing this sort of thing? (and/or perhaps some artificial target we can just bundle in a bunch of quirky features like this to test)<br>
<br>- David</div></div></div></div>