[PATCH] D78650: [MC][AArch64] Fail if x18 is reserved and used

Eugene Leviant via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 22 11:26:11 PDT 2020


evgeny777 added a comment.

@efriedma From AArch64GenSubtargetInfo.inc:

  { "reserve-x18", "Reserve X18, making it unavailable as a GPR", AArch64::FeatureReserveX18, { { { 0x0ULL, 0x0ULL, 0x0ULL, } } } },

I thought it makes sense to error on using x18 to identify places when it's clobbered which otherwise has to be done with disassembling an image.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78650/new/

https://reviews.llvm.org/D78650





More information about the llvm-commits mailing list