I agree, done. - Daniel
On Tue, Nov 11, 2008 at 7:24 AM, Nuno Lopes <[EMAIL PROTECTED]> wrote: >> URL: http://llvm.org/viewvc/llvm-project?rev=58977&view=rev >> Log: >> don't preserve names on IR instructions. This matches llvm-gcc's behavior >> and >> speeds up the compiler by ~8% at -emit-llvm -O0. >> >> Modified: >> cfe/trunk/lib/CodeGen/CGBuilder.h >> >> Modified: cfe/trunk/lib/CodeGen/CGBuilder.h >> URL: >> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGBuilder.h?rev=58977&r1=58976&r2=58977&view=diff >> >> ============================================================================== >> --- cfe/trunk/lib/CodeGen/CGBuilder.h (original) >> +++ cfe/trunk/lib/CodeGen/CGBuilder.h Mon Nov 10 00:31:46 2008 >> @@ -14,7 +14,8 @@ >> >> namespace clang { >> namespace CodeGen { >> - typedef llvm::IRBuilder<> CGBuilderTy; >> + // Don't preserve names on values by default. >> + typedef llvm::IRBuilder<false> CGBuilderTy; >> } // end namespace CodeGen >> } // end namespace clang > > > Can you activate it in the Debug build, please? A simple #ifdef NDEBUG would > suffice. > > Thanks, > Nuno > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
