r216662 - [ARM] Change default ABI for AArch32 to be "aapcs" (was "apcs-gnu")

James Molloy james at jamesmolloy.co.uk
Wed Dec 10 14:21:22 PST 2014


Hi,

Oliver is away on vacation at the moment - no idea when he will see this.

I don't personally agree with reverting the change for the reason you gave.
Apcs-gnu has gone the way of the dodo apart from on Darwin - it doesn't
make sense to default to something that is not used.

Granted, a full triple should be used. However, in principle I'm not sure
that implementation details such as backend defaults and test cases should
influence the end user behaviour in the only user facing tool.

As I say, I'm not against the change but it would be nice if there was a
more compelling reason.

What do you think?

James
On Wed, 10 Dec 2014 at 20:37, Renato Golin <renato.golin at linaro.org> wrote:

> On 10 December 2014 at 19:46, Eric Christopher <echristo at gmail.com> wrote:
> > Since it doesn't seem like there's a reason other than "it seemed like a
> > nice idea" (which I agree with, just that it's more work than just the
> front
> > end change) I'm going to revert this for now and make sure the ABI
> > definitions are unified between the front and back end. If we decide we
> > really want to change it then it can be done in both the front end and
> back
> > end with the requisite testsuite updates.
>
> That's a good point. The code as it is doesn't seem like it was well
> thought, but hacked in by different people at different times and
> "approved" by people that didn't care much what the default is (like
> myself).
>
> Reverting is probably the safest thing to do, right now. If that
> creates problems for Oliver, than we should get more concrete reasons
> and plans than just a "nice idea".
>
> cheers,
> --renato
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141210/af968ecd/attachment.html>


More information about the cfe-commits mailing list