[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h
Brian Gaeke
gaeke at cs.uiuc.edu
Wed Jul 28 12:24:58 PDT 2004
Changes in directory llvm/include/llvm/Target:
TargetInstrInfo.h updated: 1.59 -> 1.60
---
Log message:
TargetInstrInfo::hasOperandInterlock() is always true, because it is
never overridden by any target.
---
Diffs of the changes: (+2 -9)
Index: llvm/include/llvm/Target/TargetInstrInfo.h
diff -u llvm/include/llvm/Target/TargetInstrInfo.h:1.59 llvm/include/llvm/Target/TargetInstrInfo.h:1.60
--- llvm/include/llvm/Target/TargetInstrInfo.h:1.59 Tue Jul 27 16:43:37 2004
+++ llvm/include/llvm/Target/TargetInstrInfo.h Wed Jul 28 14:24:48 2004
@@ -194,18 +194,11 @@
bool isDummyPhiInstr(MachineOpCode opCode) const {
return get(opCode).Flags & M_DUMMY_PHI_FLAG;
}
- // Check if an instruction can be issued before its operands are ready,
- // or if a subsequent instruction that uses its result can be issued
- // before the results are ready.
- // Default to true since most instructions on many architectures allow this.
- //
- virtual bool hasOperandInterlock(MachineOpCode opCode) const {
- return true;
- }
+
virtual bool hasResultInterlock(MachineOpCode opCode) const {
return true;
}
-
+
//
// Latencies for individual instructions and instruction pairs
//
More information about the llvm-commits
mailing list