diff --git a/llvm/include/llvm/CodeGen/TargetInstrInfo.h b/llvm/include/llvm/CodeGen/TargetInstrInfo.h index 8e7499ac626a7..e188f226ac9f4 100644 --- a/llvm/include/llvm/CodeGen/TargetInstrInfo.h +++ b/llvm/include/llvm/CodeGen/TargetInstrInfo.h @@ -1060,9 +1060,9 @@ class TargetInstrInfo : public MCInstrInfo { } /// If the specific machine instruction is an instruction that adds an - /// immediate value and a physical register, and stores the result in - /// the given physical register \c Reg, return a pair of the source - /// register and the offset which has been added. + /// immediate value and a register, and stores the result in the given + /// register \c Reg, return a pair of the source register and the offset + /// which has been added. virtual std::optional isAddImmediate(const MachineInstr &MI, Register Reg) const { return std::nullopt;