[llvm-commits] [llvm] r146913 - /llvm/trunk/include/llvm/Target/TargetInstrInfo.h
Eli Friedman
eli.friedman at gmail.com
Mon Dec 19 13:53:12 PST 2011
Author: efriedma
Date: Mon Dec 19 15:53:12 2011
New Revision: 146913
URL: http://llvm.org/viewvc/llvm-project?rev=146913&view=rev
Log:
Add "using" to silence warnings.
Modified:
llvm/trunk/include/llvm/Target/TargetInstrInfo.h
Modified: llvm/trunk/include/llvm/Target/TargetInstrInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetInstrInfo.h?rev=146913&r1=146912&r2=146913&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetInstrInfo.h (original)
+++ llvm/trunk/include/llvm/Target/TargetInstrInfo.h Mon Dec 19 15:53:12 2011
@@ -839,9 +839,11 @@
virtual bool isSchedulingBoundary(const MachineInstr *MI,
const MachineBasicBlock *MBB,
const MachineFunction &MF) const;
+ using TargetInstrInfo::getOperandLatency;
virtual int getOperandLatency(const InstrItineraryData *ItinData,
SDNode *DefNode, unsigned DefIdx,
SDNode *UseNode, unsigned UseIdx) const;
+ using TargetInstrInfo::getInstrLatency;
virtual int getInstrLatency(const InstrItineraryData *ItinData,
SDNode *Node) const;
More information about the llvm-commits
mailing list