commit | cbaa85372d18c010007289fb784a253ba01fd360 | [log] [tgz] |
---|---|---|
author | James Molloy <james.molloy@arm.com> | Thu Oct 08 12:39:50 2015 +0000 |
committer | James Molloy <james.molloy@arm.com> | Thu Oct 08 12:39:50 2015 +0000 |
tree | 5fe63098ac93c94699da069b9c977ae19eebbd6b | |
parent | 30ead638b8b7ad4d70d25ef3c70f0d6b21522784 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249685 91177308-0d34-0410-b5e6-96231b3b80d8