[llvm] TargetInstrInfo: make getOperandLatency return optional (NFC) (PR #73769)
Francesco Petrogalli via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 1 00:31:27 PST 2023
================
@@ -1731,8 +1731,8 @@ class TargetInstrInfo : public MCInstrInfo {
virtual unsigned getPredicationCost(const MachineInstr &MI) const;
- virtual int getInstrLatency(const InstrItineraryData *ItinData,
- SDNode *Node) const;
+ virtual unsigned getInstrLatency(const InstrItineraryData *ItinData,
----------------
fpetrogalli wrote:
`getOperandLatecy` is not the only interface you have modified in this patch. Please update the PR description/title accordingly.
https://github.com/llvm/llvm-project/pull/73769
More information about the llvm-commits
mailing list