[PGO] Cleanup: remove reduncant calls in lowering

CoverageMapping data's section and alignment is
already set during creation. No need to call it again
during lowering.

llvm-svn: 256716
This commit is contained in:
Xinliang David Li 2016-01-03 19:38:51 +00:00
parent 5205ca0c70
commit 76c3f38774
1 changed files with 0 additions and 2 deletions

View 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] }