[llvm] c8f0d37 - Fix IfConversion UpdatePredRedefs method documentation (#69918)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 6 07:30:44 PST 2026
Author: João Andrade
Date: 2026-03-06T21:00:39+05:30
New Revision: c8f0d37310d6f3c3f492ff22633b700ea5b20278
URL: https://github.com/llvm/llvm-project/commit/c8f0d37310d6f3c3f492ff22633b700ea5b20278
DIFF: https://github.com/llvm/llvm-project/commit/c8f0d37310d6f3c3f492ff22633b700ea5b20278.diff
LOG: Fix IfConversion UpdatePredRedefs method documentation (#69918)
Fixes #68283
Added:
Modified:
llvm/lib/CodeGen/IfConversion.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/IfConversion.cpp b/llvm/lib/CodeGen/IfConversion.cpp
index 40d66f5fa4ec4..bb26a261ea86e 100644
--- a/llvm/lib/CodeGen/IfConversion.cpp
+++ b/llvm/lib/CodeGen/IfConversion.cpp
@@ -1488,7 +1488,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