-
- Downloads
[ThinLTO] Represent relative BF using a scaled representation .
Summary: The current integer representation of relative block frequency prevents representing relative block frequencies below 1. This change uses a 8 of the 29 bits to represent the decimal part by using a fixed scale of -8. Reviewers: tejohnson, davidxl Subscribers: mehdi_amini, inglorion, llvm-commits Differential Revision: https://reviews.llvm.org/D43520 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325823 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/llvm/IR/ModuleSummaryIndex.h 19 additions, 4 deletionsinclude/llvm/IR/ModuleSummaryIndex.h
- lib/Analysis/ModuleSummaryAnalysis.cpp 3 additions, 11 deletionslib/Analysis/ModuleSummaryAnalysis.cpp
- test/Bitcode/thinlto-function-summary-callgraph-relbf.ll 1 addition, 1 deletiontest/Bitcode/thinlto-function-summary-callgraph-relbf.ll
Loading
Please register or sign in to comment