diff options
author | Pete Cooper <peter_cooper@apple.com> | 2014-09-02 17:43:54 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2014-09-02 17:43:54 +0000 |
commit | 11759457101688ed50ed14725c78df5406f82bd8 (patch) | |
tree | 10706fd2d622d2c0499f665cadaaee951c8d6291 /llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp | |
parent | 505e1b829fd181a12ffc4b62f00cbe8d61c92c2c (diff) | |
download | bcm5719-llvm-11759457101688ed50ed14725c78df5406f82bd8.tar.gz bcm5719-llvm-11759457101688ed50ed14725c78df5406f82bd8.zip |
Change MCSchedModel to be a struct of statically initialized data.
This removes static initializers from the backends which generate this data, and also makes this struct match the other Tablegen generated structs in behaviour
Reviewed by Andy Trick and Chandler C
llvm-svn: 216919
Diffstat (limited to 'llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp')
-rw-r--r-- | llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp b/llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp index 004c685bf39..38833a4165a 100644 --- a/llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp +++ b/llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp @@ -78,7 +78,7 @@ ScoreboardHazardRecognizer(const InstrItineraryData *II, DEBUG(dbgs() << "Disabled scoreboard hazard recognizer\n"); else { // A nonempty itinerary must have a SchedModel. - IssueWidth = ItinData->SchedModel->IssueWidth; + IssueWidth = ItinData->SchedModel.IssueWidth; DEBUG(dbgs() << "Using scoreboard hazard recognizer: Depth = " << ScoreboardDepth << '\n'); } |