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

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 18 12:40:44 PDT 2023


arsenm 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);
----------------
This should use enterBasicBlockEnd and walk backwards through the block


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