mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 15:13:49 -04:00
Revert r277313 and r277314.
They seem to trigger an LSan failure: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/15140/steps/check-llvm%20asan/logs/stdio Revert "Add the tests for r277313" This reverts commit r277314. Revert "CodeExtractor : Add ability to preserve profile data." This reverts commit r277313. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277317 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -162,13 +162,6 @@ BlockFrequencyInfo::getBlockProfileCount(const BasicBlock *BB) const {
|
||||
return BFI->getBlockProfileCount(*getFunction(), BB);
|
||||
}
|
||||
|
||||
Optional<uint64_t>
|
||||
BlockFrequencyInfo::getProfileCountFromFreq(uint64_t Freq) const {
|
||||
if (!BFI)
|
||||
return None;
|
||||
return BFI->getProfileCountFromFreq(*getFunction(), Freq);
|
||||
}
|
||||
|
||||
void BlockFrequencyInfo::setBlockFreq(const BasicBlock *BB, uint64_t Freq) {
|
||||
assert(BFI && "Expected analysis to be available");
|
||||
BFI->setBlockFreq(BB, Freq);
|
||||
|
||||
Reference in New Issue
Block a user