<div dir="ltr">On Thu, Mar 21, 2013 at 11:14 PM, John McCall <span dir="ltr"><<a href="mailto:rjmccall@apple.com" target="_blank">rjmccall@apple.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><span style="color:rgb(34,34,34)">All these tests are pretty inadequate;  you could be accidentally doing</span><br>
</div>
a lot of stuff besides the stores.  You should basically be testing the entire<br>
function body, including the define line.  This will also let you effectively<br>
test that you're generating the right IR type, which will be important when<br>
you start generating different IR types for different cases.<br></blockquote><div><br></div><div style>OK, now the alloca and its size is part of the test.  That should constrain the size of the member pointer to a single slot.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You're also not testing the generation of a null value.<br></blockquote><div><br></div><div style>How so?  That's what the final store -1/0 is in each function.</div></div></div></div>