[PATCH] D99284: [RegAllocFast] properly handle STATEPOINT instruction.
Serguei Katkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 8 02:42:55 PDT 2021
skatkov accepted this revision.
skatkov added a comment.
@arsenm, any comments from your side?
================
Comment at: llvm/lib/CodeGen/RegAllocFast.cpp:1283
+ // Displace clobbered registers.
+ for (const LiveReg &LR : LiveVirtRegs) {
+ MCPhysReg PhysReg = LR.PhysReg;
----------------
nit (up to you):
for (const LiveReg &LR : LiveVirtRegs)
if (MCPhysReg PhysReg = LR.PhysReg)
if (isClobberedByRegMasks(PhysReg))
displacePhysReg(MI, PhysReg);
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99284/new/
https://reviews.llvm.org/D99284
More information about the llvm-commits
mailing list