[PATCH] Compile time reduction for small programs.

Justin Bogner mail at justinbogner.com
Tue Feb 4 16:30:06 PST 2014


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.




More information about the llvm-commits mailing list