<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 17, 2016 at 11:29 AM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@gmail.com" target="_blank">chandlerc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">So, I really like for the -LABEL to come right after the function define line...<br><br><div class="gmail_quote"><div>For the x86 tests, the common pattern I settled on was to have immediately after the function opening, a block of -LABEL and then -NEXT to assert each aspect of the function, all before the label of the entry block. Any particular reason to deviate here?</div></div></div></blockquote><div><br></div><div>Ah, you wanted the CHECK-LABEL to have proximity to the actual label. It always seemed odd to me that we have the checks before the code...like seeing the future before knowing the present. :)<br></div><div><br>The opt test case that I was initially using to debug the script was formatted the other way around (code before checks), so I just went with that and my anti-temporal-inversion bias. There's certainly value to having uniformity on this, so I can switch it.<br><br></div><div>Of course, the right thing to do is just tweak the existing llc checks script so that it can handle opt or llc (or clang) tests. I should kill my script before it strays too far. This is the first time I've tried python, so any changes I've made are suspect anyway!<br></div><div><br><br> </div></div></div></div>