diff options
author | Andrew Trick <atrick@apple.com> | 2012-06-05 03:44:40 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-06-05 03:44:40 +0000 |
commit | 73d7736b17fcefe5448ffea7641ff10e415ef83e (patch) | |
tree | d4eec2c9c14200dafa68b1d84459c8f7cad882e1 /llvm/lib/MC/MCSubtargetInfo.cpp | |
parent | a88d46e81886c2a3d9511fdb590defc1ba1131d9 (diff) | |
download | bcm5719-llvm-73d7736b17fcefe5448ffea7641ff10e415ef83e.tar.gz bcm5719-llvm-73d7736b17fcefe5448ffea7641ff10e415ef83e.zip |
misched: Added MultiIssueItineraries.
This allows a subtarget to explicitly specify the issue width and
other properties without providing pipeline stage details for every
instruction.
llvm-svn: 157979
Diffstat (limited to 'llvm/lib/MC/MCSubtargetInfo.cpp')
-rw-r--r-- | llvm/lib/MC/MCSubtargetInfo.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCSubtargetInfo.cpp b/llvm/lib/MC/MCSubtargetInfo.cpp index 86dc1083cee..cb56a540644 100644 --- a/llvm/lib/MC/MCSubtargetInfo.cpp +++ b/llvm/lib/MC/MCSubtargetInfo.cpp @@ -91,6 +91,8 @@ MCSubtargetInfo::getInstrItineraryForCPU(StringRef CPU) const { return InstrItineraryData(); } - return InstrItineraryData(Stages, OperandCycles, ForwardingPathes, - (InstrItinerary *)Found->Value); + InstrItinerarySubtargetValue *V = + (InstrItinerarySubtargetValue *)Found->Value; + return InstrItineraryData(V->Props, Stages, OperandCycles, ForwardingPathes, + V->Itineraries); } |