diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-02-18 00:32:02 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-02-18 00:32:02 +0000 |
commit | 37a93df3d589d2f590994e7978554ed299ee5a24 (patch) | |
tree | d1046abb93572cf42438ea9de21b76972839370a /llvm/lib/CodeGen/MachineRegionInfo.cpp | |
parent | efc3fbf6a2015464d8f2773b7003f64190d17c31 (diff) | |
download | bcm5719-llvm-37a93df3d589d2f590994e7978554ed299ee5a24.tar.gz bcm5719-llvm-37a93df3d589d2f590994e7978554ed299ee5a24.zip |
[modules] Load the ModuleOffsetMap from the module header lazily.
If we never need to map any ID within the module to its global ID, we don't
need the module offset map. If a compilation transitively depends on lots of
unused module files, this can result in a modest performance improvement.
llvm-svn: 295517
Diffstat (limited to 'llvm/lib/CodeGen/MachineRegionInfo.cpp')
0 files changed, 0 insertions, 0 deletions