This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Fix AArch32 and pre-v8 poly types to be unsigned
AbandonedPublic

Authored by bsmith on Oct 2 2013, 8:09 AM.

Details

Reviewers
None
Summary

All poly types should be of unsigned type, this is true for all ARM ISAs, AArch64 currently has this behavior however AArch32 and pre-v8 do not.

Also update test/CodeGenCXX/mangle-neon-vectors.cpp to test as thoroughly as the AArch64 version.

Diff Detail

Event Timeline

bsmith added a comment.Oct 3 2013, 3:19 AM

Hi Bradley,

Hi Tim,

On 2 October 2013 16:09, Bradley Smith <bradley.smith@arm.com> wrote:

All poly types should be of unsigned type,

I proposed this back in January, and I think we reached the conclusion
that this change should be coordinated with GCC since it's potentially
ABI-breaking.

Do you know if there's been any progress on the GCC side? I think they
(Richard Earnshaw & Tejas) were intending to wait until 4.8.0 had been
released before proposing the change there.

Unfortunately not much it seems, it's still very much on their TODO list
for 4.8 so will happen at some point, we're just not sure exactly when.
Given this is now specified in the ACLE as unsigned so has to change in GCC,
it might be nice for clang to take the lead on this one rather than waiting
for GCC.

Also as you stated in your previous thread, which I just found, it's
extraordinarily unlikely that many people if anybody will actually be
affected
by this change differing across clang and GCC until GCC changes it.

Regards,
Bradley Smith

Hi Bob,

Since I believe it was you who objected somewhat to this last time around,
do you have any opinion on this? Thanks.

Regards,
Bradley Smith

On 2 October 2013 16:09, Bradley Smith <bradley.smith@arm.com> wrote:

All poly types should be of unsigned type,

I proposed this back in January, and I think we reached the

conclusion

that this change should be coordinated with GCC since it's

potentially

ABI-breaking.

Do you know if there's been any progress on the GCC side? I think

they

(Richard Earnshaw & Tejas) were intending to wait until 4.8.0 had

been

released before proposing the change there.

Unfortunately not much it seems, it's still very much on their TODO
list
for 4.8 so will happen at some point, we're just not sure exactly when.
Given this is now specified in the ACLE as unsigned so has to change in
GCC,
it might be nice for clang to take the lead on this one rather than
waiting
for GCC.

Also as you stated in your previous thread, which I just found, it's
extraordinarily unlikely that many people if anybody will actually be
affected
by this change differing across clang and GCC until GCC changes it.

bsmith abandoned this revision.Dec 15 2020, 4:58 AM

This change is very old and almost certainly out of date, therefore abandoning.