mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-02 02:14:23 +00:00
[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
0b50f47732
commit
1ab26df8a2
@ -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…
x
Reference in New Issue
Block a user