summaryrefslogtreecommitdiffstats
path: root/include/llvm/Target
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-07-28 19:24:48 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-07-28 19:24:48 +0000
commitb2f30a3792c84790fcf7f20bf581b963bb0a25d3 (patch)
tree135979f27b24534acfc0386ad08d5fac83796f7f /include/llvm/Target
parent8b88d906a2a5bd4a6824c83ae1ee4f3aae54664d (diff)
downloadexternal_llvm-b2f30a3792c84790fcf7f20bf581b963bb0a25d3.zip
external_llvm-b2f30a3792c84790fcf7f20bf581b963bb0a25d3.tar.gz
external_llvm-b2f30a3792c84790fcf7f20bf581b963bb0a25d3.tar.bz2
TargetInstrInfo::hasOperandInterlock() is always true, because it is
never overridden by any target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15308 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r--include/llvm/Target/TargetInstrInfo.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h
index 8d15c5d..f77ba6f 100644
--- a/include/llvm/Target/TargetInstrInfo.h
+++ b/include/llvm/Target/TargetInstrInfo.h
@@ -194,18 +194,11 @@ public:
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
//