[PATCH] D119436: RFC: RegAlloc: Avoid repeated calls to freezeReservedRegs

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 10 07:17:44 PST 2022


foad added a comment.

> FIXME: The assertion I added fails on a few AArch64 CodeGen tests,
> apparently because AArch64RegisterInfo::hasBasePointer changes after
> FinalizeISel.

Digging a little deeper, this is because hasBasePointer depends on the local frame size, which is set up by the LocalStackSlotAllocation pass.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119436



More information about the llvm-commits mailing list