Page MenuHomePhabricator

[Sema][SVE] Reject atomic sizeless types

Authored by rsandifo-arm on Mar 6 2020, 4:16 AM.



It would be difficult to guarantee atomicity for sizeless types,
so the SVE ACLE makes atomic sizeless types invalid. As it happens,
we already rejected them before the patch, but for the wrong reason:

error: _Atomic cannot be applied to type 'svint8_t' (aka '__SVInt8_t')
which is not trivially copyable

The SVE types should be treated as trivially copyable; a later
patch fixes that.

Diff Detail

Event Timeline

rsandifo-arm created this revision.Mar 6 2020, 4:16 AM
Herald added a project: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Mar 11 2020, 7:17 PM
This revision was automatically updated to reflect the committed changes.