don't preserve names on IR instructions. This matches llvm-gcc's behavior and

speeds up the compiler by ~8% at -emit-llvm -O0.

llvm-svn: 58977
This commit is contained in:
Chris Lattner 2008-11-10 06:31:46 +00:00
parent 494e4a6e3e
commit b5d21a4d03
1 changed files with 2 additions and 1 deletions

View File

@ -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