mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-28 16:26:18 +00:00
Elaborate why we have an option on by default for enabling chr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358641 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fed299e82d
commit
1d7ad3c0a6
@ -209,6 +209,8 @@ static cl::opt<bool> EnableSyntheticCounts(
|
||||
static Regex DefaultAliasRegex(
|
||||
"^(default|thinlto-pre-link|thinlto|lto-pre-link|lto)<(O[0123sz])>$");
|
||||
|
||||
// This option is used in simplifying testing SampleFDO optimizations for
|
||||
// profile loading.
|
||||
static cl::opt<bool>
|
||||
EnableCHR("enable-chr-npm", cl::init(true), cl::Hidden,
|
||||
cl::desc("Enable control height reduction optimization (CHR)"));
|
||||
|
@ -139,6 +139,8 @@ static cl::opt<bool> EnableGVNSink(
|
||||
"enable-gvn-sink", cl::init(false), cl::Hidden,
|
||||
cl::desc("Enable the GVN sinking pass (default = off)"));
|
||||
|
||||
// This option is used in simplifying testing SampleFDO optimizations for
|
||||
// profile loading.
|
||||
static cl::opt<bool>
|
||||
EnableCHR("enable-chr", cl::init(true), cl::Hidden,
|
||||
cl::desc("Enable control height reduction optimization (CHR)"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user