[VENTUS][NFC] Update comments

This commit is contained in:
zhoujingya 2023-09-07 22:18:13 +08:00
parent c25d00552c
commit 6faba77dc3
1 changed files with 3 additions and 0 deletions

View File

@ -163,6 +163,9 @@ bool VentusLegalizeLoad::checkInstructionUse(MachineBasicBlock &MBB, MachineInst
LLVM_DEBUG(dbgs() << "Instruction after changed: \n");
LLVM_DEBUG(MI.dump());
auto UseList = MR->use_instructions(MI.getOperand(0).getReg());
// Recursive check
// vlw.v v0, -28(v8) // vararg start frame
// vlw.v v0, 0(v0) // should be checked too
for (auto &Use : UseList) {
checkInstructionUse(MBB, Use);
}