<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 4, 2012 at 11:33 AM, Bill Wendling <span dir="ltr"><<a href="mailto:isanbard@gmail.com" target="_blank">isanbard@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 class="HOEnZb"><div class="h5">On Dec 4, 2012, at 11:11 AM, Eric Christopher <<a href="mailto:echristo@gmail.com">echristo@gmail.com</a>> wrote:<br>

<br>
> On Tue, Dec 4, 2012 at 10:34 AM, Chris Lattner <<a href="mailto:clattner@apple.com">clattner@apple.com</a>> wrote:<br>
><br>
> On Dec 4, 2012, at 9:36 AM, Eric Christopher <<a href="mailto:echristo@gmail.com">echristo@gmail.com</a>> wrote:<br>
><br>
>> Doesn't really matter.<br>
><br>
> Small savings of debug info size?<br>
><br>
><br>
> They're the same size?<br>
><br>
> Wait, do you mean in the IR? Then yeah, we could probably just replace the upper bound with a count and go from there I think.<br>
><br>
</div></div>Yeah. In fact, it'll be a bit less of a hack than making the lower bound > upper bound for unbounded subranges. I'll make the change.<br>
<br></blockquote><div><br></div><div>Thank you.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Eventually, we'll want to support the upper bound being a DIE, so that it can refer to the variable it's defined with -- 'n' in this case:<br>
<br>
        void foo(int n) {<br>
                int bork[n];<br>
                /* */<br>
        }<br>
<br>
etc.<br></blockquote><div><br></div><div>Mmm... you mean expression yes?</div><div><br></div><div>-eric</div></div></div>