This is an archive of the discontinued LLVM Phabricator instance.

[llvm][AArch64][SVE] Model FFR-using intrinsics with inaccessiblemem
ClosedPublic

Authored by peterwaller-arm on May 17 2021, 5:46 AM.

Details

Summary

Intriniscs reading or writing the FFR register need to model the fact
there is additional state being read/wrtten.

Model this state as inaccessible memory.

  • setffr => write inaccessiblememonly
  • rdffr => read inaccessiblememonly
  • ldff* => read arg memory, write inaccessiblemem
  • ldnf => read arg memory, write inaccessiblemem

Diff Detail

Event Timeline

peterwaller-arm requested review of this revision.May 17 2021, 5:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 17 2021, 5:46 AM
efriedma accepted this revision.May 17 2021, 10:42 AM

LGTM. (I'm still not happy with the state of these intrinsics, as I noted on D71698, but this is an obvious improvement.)

This revision is now accepted and ready to land.May 17 2021, 10:42 AM