diff options
author | James Molloy <james.molloy@arm.com> | 2015-10-08 12:39:50 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2015-10-08 12:39:50 +0000 |
commit | ab9fdb922677a884a79854579204e3e8a06345c5 (patch) | |
tree | ec3d7cc9c1d7dfd4d992146f2f1319561593a5e2 /llvm/lib/Bitcode/Writer/BitWriter.cpp | |
parent | b751bfb9bd245627ae9497d8a2a6d1d04961abe4 (diff) | |
download | llvm-ab9fdb922677a884a79854579204e3e8a06345c5.zip llvm-ab9fdb922677a884a79854579204e3e8a06345c5.tar.gz llvm-ab9fdb922677a884a79854579204e3e8a06345c5.tar.bz2 |
Make demanded bits lazy
The algorithm itself is still eager, but it doesn't get run until a
query function is called. This greatly reduces the compile-time impact
of requiring DemandedBits when at runtime it is not often used.
NFCI.
llvm-svn: 249685
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitWriter.cpp')
0 files changed, 0 insertions, 0 deletions