[llvm] Fix IfConversion UpdatePredRedefs method documentation (PR #69918)
João Andrade via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 23 04:57:28 PDT 2023
https://github.com/jpgianfaldoni created https://github.com/llvm/llvm-project/pull/69918
Fixes #68283
>From 3e3f73f11ba537e68763f3a36014e4cfd8610578 Mon Sep 17 00:00:00 2001
From: jpgianfaldoni <jpgianfaldoni at gmail.com>
Date: Mon, 23 Oct 2023 08:55:45 -0300
Subject: [PATCH] fix UpdatePredRedefs docs
---
llvm/lib/CodeGen/IfConversion.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/CodeGen/IfConversion.cpp b/llvm/lib/CodeGen/IfConversion.cpp
index e8e276a8558d8a7..b153e199172baf6 100644
--- a/llvm/lib/CodeGen/IfConversion.cpp
+++ b/llvm/lib/CodeGen/IfConversion.cpp
@@ -1470,7 +1470,7 @@ static void InsertUncondBranch(MachineBasicBlock &MBB, MachineBasicBlock &ToMBB,
TII->insertBranch(MBB, &ToMBB, nullptr, NoCond, dl);
}
-/// Behaves like LiveRegUnits::StepForward() but also adds implicit uses to all
+/// Behaves like LivePhysRegs::stepForward() but also adds implicit uses to all
/// values defined in MI which are also live/used by MI.
static void UpdatePredRedefs(MachineInstr &MI, LivePhysRegs &Redefs) {
const TargetRegisterInfo *TRI = MI.getMF()->getSubtarget().getRegisterInfo();
More information about the llvm-commits
mailing list