<div dir="ltr">Great, thanks! <div><br></div><div>LGTM</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, May 5, 2016 at 12:18 PM Dehao Chen <<a href="mailto:danielcdh@gmail.com">danielcdh@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The test case oneline.ll I just updated is actually a motivating<br>
example: simplifycfg reduced the BB number from 5 to 4, thus there<br>
will be one less discriminator assigned.<br>
<br>
Dehao<br>
<br>
On Thu, May 5, 2016 at 9:12 AM, Diego Novillo <<a href="mailto:dnovillo@google.com" target="_blank">dnovillo@google.com</a>> wrote:<br>
> OK,  sure.  What I meant is a testcase that motivates this change.<br>
><br>
><br>
> On Thu, May 5, 2016, 11:40 Dehao Chen <<a href="mailto:danielcdh@gmail.com" target="_blank">danielcdh@gmail.com</a>> wrote:<br>
>><br>
>> This patch works the other way: it reduces # of discriminators<br>
>> assigned because CFGs are simplified. I don't think we can build such<br>
>> a testcase unless simplifycfg complicates the CFG.<br>
>><br>
>> Thanks,<br>
>> Dehao<br>
>><br>
>> On Thu, May 5, 2016 at 5:16 AM, Diego Novillo <<a href="mailto:dnovillo@google.com" target="_blank">dnovillo@google.com</a>> wrote:<br>
>> > dnovillo added a comment.<br>
>> ><br>
>> > Would it be possible to get a test case where we miss discriminator<br>
>> > placement if simplifycfg doesn't run beforehand?<br>
>> ><br>
>> ><br>
>> > <a href="http://reviews.llvm.org/D19926" rel="noreferrer" target="_blank">http://reviews.llvm.org/D19926</a><br>
>> ><br>
>> ><br>
>> ><br>
</blockquote></div>