[PGO] Cleanup: remove reduncant calls in lowering
[oota-llvm.git] / lib / Transforms / Instrumentation / InstrProfiling.cpp
index 7a51fda38ed892caef793a2cd0518007b197d9d2..51ff95d9a74ca3f9d90e6151f889a444c05f4f79 100644 (file)
@@ -234,8 +234,6 @@ void InstrProfiling::lowerIncrement(InstrProfIncrementInst *Inc) {
 }
 
 void InstrProfiling::lowerCoverageData(GlobalVariable *CoverageData) {
-  CoverageData->setSection(getCoverageSection());
-  CoverageData->setAlignment(8);
 
   Constant *Init = CoverageData->getInitializer();
   // We're expecting { [4 x 32], [n x { i8*, i32, i32 }], [m x i8] }