[PATCH] D133103: [PowerPC] Improve kill flag computation and add verification after MI peephole

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 10:11:26 PDT 2023


nemanjai added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCPreEmitPeephole.cpp:425
         // Find an unused GPR according to register liveness
         RS.enterBasicBlock(MBB);
         unsigned InDSCR = RS.FindUnusedReg(&PPC::GPRCRegClass);
----------------
arsenm wrote:
> This should use enterBasicBlockEnd and walk backwards through the block
This will be done in a follow-up patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133103



More information about the llvm-commits mailing list