forked from OSchip/llvm-project
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:
parent
494e4a6e3e
commit
b5d21a4d03
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue