summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetSchedule.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-07-10 22:13:43 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-07-10 22:13:43 +0000
commitf862f87ff219206e03d56512b788bc5f61c78541 (patch)
tree5edc9caa39afcfe95bacae47002c0d34719d8f43 /llvm/lib/CodeGen/TargetSchedule.cpp
parent8b984d19f2c8b22e26a7b8f8beca6dfde2873a7e (diff)
downloadbcm5719-llvm-f862f87ff219206e03d56512b788bc5f61c78541.tar.gz
bcm5719-llvm-f862f87ff219206e03d56512b788bc5f61c78541.zip
MC: Remove the copy of MCSchedModel in MCSubtargetInfo
`MCSchedModel` is large. Make `MCSchedModel::GetDefaultSchedModel()` return by-reference instead of by-value, so we can store a pointer in `MCSubtargetInfo::CPUSchedModel` instead of a copy. Note: since `MCSchedModel` is POD, this doesn't create a static constructor. llvm-svn: 241947
Diffstat (limited to 'llvm/lib/CodeGen/TargetSchedule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud