forked from OSchip/llvm-project
[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:
parent
5205ca0c70
commit
76c3f38774
|
@ -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] }
|
||||
|
|
Loading…
Reference in New Issue