<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Sep 12, 2015 at 7:42 AM, Joerg Sonnenberger 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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>On Fri, Sep 11, 2015 at 12:57:38PM -0700, Reid Kleckner wrote:<br>
> On Fri, Sep 11, 2015 at 12:40 PM, Joerg Sonnenberger via llvm-commits <<br>
> <a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>> wrote:<br>
><br>
> > On Fri, Sep 11, 2015 at 06:54:39PM -0000, Akira Hatanaka via llvm-commits<br>
> > wrote:<br>
> > > URL: <a href="http://llvm.org/viewvc/llvm-project?rev=247450&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=247450&view=rev</a><br>
> > > Log:<br>
> > > Use function attribute "stackrealign" to decide whether stack<br>
> > > realignment should be forced.<br>
> ><br>
> > Can you please actually call it force_stackrealign or<br>
> > always_realign_stack to avoid confusion?<br>
> ><br>
><br>
> The X86 backend looks for a "no-stack-realign" attribute. Perhaps we should<br>
> have a string attribute "stackrealign" with three values, "always", "auto",<br>
> and "never". The default behavior is "auto".<br>
<br>
</div></div>That also seems to be reasonable.<br>
<div><div><br></div></div></blockquote><div><br></div><div>Some users might need "no-stack-realign", so I'll hold off on converting it to a cl::opt option.</div><div><br></div><div>Using "stackrealign" with three values sounds like a good idea. However, since "no-stack-realign" has been around for a while, I feel a little hesitant to replace it with "stackrealign"="never". I didn't think "stackrealign" would confuse people, but I can replace "stackrealign" with something like "force-align-stack" or "always-align-stack" if that's desirable.</div><div><br></div><div> <br></div><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><div>
Joerg<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">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/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div></div>