diff options
author | Easwaran Raman <eraman@google.com> | 2015-12-12 01:11:09 +0000 |
---|---|---|
committer | Easwaran Raman <eraman@google.com> | 2015-12-12 01:11:09 +0000 |
commit | dd4c71ca6e2ee6dfa2766d404bc4adc5b1bb587b (patch) | |
tree | ade2ed2fe040b284e9d3ed4d17b56844bf1eb70a /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 1b26b9ec9dabb9d0a2fefbbfc3b10449f20d0dd1 (diff) | |
download | bcm5719-llvm-dd4c71ca6e2ee6dfa2766d404bc4adc5b1bb587b.tar.gz bcm5719-llvm-dd4c71ca6e2ee6dfa2766d404bc4adc5b1bb587b.zip |
Revert r254647.
Reason: The testcase fails in many architectures.
Differential Revision: http://reviews.llvm.org/D15163
llvm-svn: 255416
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 8d7254904a9..29c5f3eed5a 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -376,9 +376,6 @@ void CodeGenModule::Release() { } if (PGOReader && PGOStats.hasDiagnostics()) PGOStats.reportDiagnostics(getDiags(), getCodeGenOpts().MainFileName); - // In PGO mode, attach maximum function count to the module. - if (PGOReader) - getModule().setMaximumFunctionCount(PGOReader->getMaximumFunctionCount()); EmitCtorList(GlobalCtors, "llvm.global_ctors"); EmitCtorList(GlobalDtors, "llvm.global_dtors"); EmitGlobalAnnotations(); |