<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 9, 2015 at 1:23 PM, Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">then IMO we should keep them on allocas and globals. It keeps the IR human readable.</div></blockquote></span><div><br>& what of byval, then? Do you agree with Chandler's argument from analogy between byval, alloca, and globals?<br><br>(oh, and I should look at inalloca a bit too - it looks like it uses theĀ <span style="color:rgb(80,0,80)">getByValTypeAlignment too... )</span></div></div></div></div></blockquote><div><br></div></span><div>byval and inalloca are edge cases where we can afford to sacrifice some readability.</div></blockquote></div><br>So, inalloca, maybe.</div><div class="gmail_extra"><br></div><div class="gmail_extra">But I don't see why byval is more or less relevant than anything else here. If it makes sense to keep the type is a convenience for readabie IR and such in 'alloca' (and I agree that it does), I feel like it makes sense for byval as well.</div></div>