[PATCH] D132181: [X86][AArch64][NFC] Simplify querying used argument registers
Bill Wendling via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 19 11:38:51 PDT 2022
void added inline comments.
================
Comment at: llvm/lib/CodeGen/PrologEpilogInserter.cpp:1211
+ BitVector LiveIns(TRI.getNumRegs());
+ for (const auto &LI : MF.front().liveins())
+ LiveIns.set(LI.PhysReg);
----------------
nickdesaulniers wrote:
> void wrote:
> > nickdesaulniers wrote:
> > > RegisterMaskPair
> > What?
> I think the type of `LI` here is `const RegisterMaskPair &`.
Changed to `MachineBasicBlock::RegisterMaskPair`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132181/new/
https://reviews.llvm.org/D132181
More information about the llvm-commits
mailing list