[llvm] r175576 - [ms-inline asm] Force the use of a base pointer if the MachineFunction includes
Chad Rosier
chad.rosier at gmail.com
Thu Aug 8 07:39:34 PDT 2013
On Wed, Aug 7, 2013 at 8:38 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk>wrote:
> On Aug 7, 2013, at 5:17 PM, Reid Kleckner <rnk at google.com> wrote:
>
> > Wouldn't it be much better to use ebp for the base pointer and put the
> pre-alignment SP into a local that could be spilled or register allocated
> as necessary? Is that just a matter of work?
>
> I think stack unwinders would expect to find the frame pointer in %ebp.
>
> /jakob
Unfortunately, I can't think of a simple solution here. How does gcc
handle this case? IIRC, gcc was the original motivating factor for forcing
the use of the FP?
Chad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130808/0c6efc37/attachment.html>
More information about the llvm-commits
mailing list