[PATCH] D137574: PEI should be able to use backward walk in replaceFrameIndicesBackward.

Alexander via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 7 10:34:37 PST 2022


alex-t added a comment.

TargetRegisterInfo::eliminateFrameIndex invalidate iterator passed to it. It can remove the instruction or change the number of its operands.
I am thinking of changing its interface to make it return an iterator that points to the new/changed instruction to let caller handle this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137574



More information about the llvm-commits mailing list