<div dir="ltr">update_test_checks does this.<div><br></div><div>It actually works fine on this testcase, and generates something insensitive to the label names, only that the right labels appear in the same places.</div><div>(Though you may have to remove the -NEXT* if you want it to be insensitive to generation order)</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 25, 2017 at 10:42 AM, Michael Kuperstein via Phabricator via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">mkuper added a comment.<br>
<br>
Honestly, I don't feel strongly about this.<br>
<br>
I think the most resilient scheme would be something like matching the meaningful part as a part of the regexp, e.g. [[PRED_UDIV_IF1:pred.udiv.if[<wbr>0-9]+]], [[PRED_UDIV_IF2:pred.udiv.if[<wbr>0-9]+]], etc. I'm just not sure the overhead is worth it.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<a href="https://reviews.llvm.org/D32404" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D32404</a><br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div>