summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCSubtargetInfo.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-09-17 22:19:08 +0000
committerAndrew Trick <atrick@apple.com>2012-09-17 22:19:08 +0000
commitf403ee7937bc32ecf6b6e7505475f757bec4aefc (patch)
treec69c0b1c3c985f54ed145b3460891e733ab7aa8a /llvm/lib/MC/MCSubtargetInfo.cpp
parentc00f4314ce0c4a4ceba380430e11cdeaa4064ceb (diff)
downloadbcm5719-llvm-f403ee7937bc32ecf6b6e7505475f757bec4aefc.tar.gz
bcm5719-llvm-f403ee7937bc32ecf6b6e7505475f757bec4aefc.zip
TargetSchedModel API. Implement latency lookup, disabled.
llvm-svn: 164065
Diffstat (limited to 'llvm/lib/MC/MCSubtargetInfo.cpp')
-rw-r--r--llvm/lib/MC/MCSubtargetInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCSubtargetInfo.cpp b/llvm/lib/MC/MCSubtargetInfo.cpp
index 34b7eeabbc8..ae2e8a1d6c9 100644
--- a/llvm/lib/MC/MCSubtargetInfo.cpp
+++ b/llvm/lib/MC/MCSubtargetInfo.cpp
@@ -113,5 +113,5 @@ MCSubtargetInfo::getInstrItineraryForCPU(StringRef CPU) const {
/// Initialize an InstrItineraryData instance.
void MCSubtargetInfo::initInstrItins(InstrItineraryData &InstrItins) const {
InstrItins =
- InstrItineraryData(0, Stages, OperandCycles, ForwardingPaths);
+ InstrItineraryData(CPUSchedModel, Stages, OperandCycles, ForwardingPaths);
}
OpenPOWER on IntegriCloud