commit | d819fac2945672f211b0ef8fdedffa2e124b46e2 | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Fri Jul 10 22:13:43 2015 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Fri Jul 10 22:13:43 2015 +0000 |
tree | b043f79060a78f08e594c9759465026c3eda63e5 | |
parent | 722aa9573bf4d6b1a0b29fd3bd573fefafc20ebb [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241947 91177308-0d34-0410-b5e6-96231b3b80d8