https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118328
--- Comment #11 from Richard Sandiford <rsandifo at gcc dot gnu.org> --- Created attachment 60175 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60175&action=edit Proof-of-concept patch Here's a lightly-tested proof-of-concept patch for preserve_none on AArch64. In practice, I don't think there's much scope for sharing implementation code between targets.