This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Support adding X[8-15,18] registers as CSRs.
ClosedPublic

Authored by trong on Sep 22 2018, 7:09 PM.

Details

Summary

Making X[8-15,18] registers call-saved is used to support
CONFIG_ARM64_LSE_ATOMICS in Linux kernel.

Signed-off-by: Tri Vo <trong@android.com>

Diff Detail

Repository
rC Clang

Event Timeline

trong created this revision.Sep 22 2018, 7:09 PM

Test mixing -fcall-saved-x18 and -ffixed-x18?

Test mixing -fcall-saved-x18 and -ffixed-x18?

Test mixing -fcall-saved-x18 and -ffixed-x18?

Test mixing -fcall-saved-x18 and -ffixed-x18?

Test mixing -fcall-saved-x18 and -ffixed-x18?

trong updated this revision to Diff 166722.Sep 24 2018, 11:20 AM
  • Added test case for using -fcall-saved-x18 and -ffixed-x18 together.
nickdesaulniers accepted this revision.Sep 24 2018, 1:14 PM

Thanks for this patch, Tri!

This revision is now accepted and ready to land.Sep 24 2018, 1:14 PM
This revision was automatically updated to reflect the committed changes.
This revision was automatically updated to reflect the committed changes.