summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-08-31 21:26:22 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-08-31 21:26:22 +0000
commit6a150a87ef7d7d546b34ab0b7fe58729da1d6c3e (patch)
tree9aa973a3c4d4ab73f98cb480430e0de3aa2fd47b /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
parenta8efaf96d4eef19946b53d62ef8c68badc9cab6c (diff)
downloadbcm5719-llvm-6a150a87ef7d7d546b34ab0b7fe58729da1d6c3e.tar.gz
bcm5719-llvm-6a150a87ef7d7d546b34ab0b7fe58729da1d6c3e.zip
DebugInfo: Elide lexical scopes which only contain other (inline or lexical) scopes.
DW_TAG_lexical_scopes inform debuggers about the instruction range for which a given variable (or imported declaration/module/etc) is valid. If the scope doesn't itself contain any such entities, it's a waste of space and should be omitted. We were correctly doing this for entirely empty leaves, but not for intermediate nodes. Reduces total (not just debug sections) .o file size for a bootstrap -gmlt LLVM by 22% and bootstrap -gmlt clang executable by 13%. The wins for a full -g build will be less as a % (and in absolute terms), but should still be substantial - with some of that win being fewer relocations, thus more substantiall reducing link times than fewer bytes alone would have. llvm-svn: 216861
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud