[PATCH] Compile time reduction for small programs.

Puyan Lotfi plotfi at apple.com
Tue Feb 4 16:44:43 PST 2014


On Feb 4, 2014, at 4:30 PM, Justin Bogner <mail at justinbogner.com> wrote:

> Puyan Lotfi <plotfi at apple.com> writes:
>> Here’s a better commented version, Eric:
>> 
>> 
>> diff --git a/lib/CodeGen/InterferenceCache.cpp b/lib/CodeGen/InterferenceCache.cpp
>> index 427225d..e38a953 100644
>> --- a/lib/CodeGen/InterferenceCache.cpp
>> +++ b/lib/CodeGen/InterferenceCache.cpp
>> @@ -22,6 +22,18 @@ using namespace llvm;
>> // Static member used for null interference cursors.
>> InterferenceCache::BlockInterference InterferenceCache::Cursor::NoInterference;
>> 
>> +/// reinitPhysRegEntries - Initializes PhysRegEntries to new
>> +/// zeroed out memory of size NumPhysRegs. This is faster than using
>> +/// llvm::SmallVector::assign(N, 0). It's used in the below code to
>> +/// also supports when a pass manager could be reused for different
>            ^~~~~~~~
> 
> Typo, should be support.

Yes, saw that. Fixed it, and the comment reflow too. ;-)





More information about the llvm-commits mailing list