Skip to content

Commit 95144b1

Browse files
authored
[NFC][DFAJT] Place cl::opts in the llvm namespace (#162212)
Along the lines of [#161240](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/workbench.html "Open Issue or Pull Request #161240 on GitHub")
1 parent 459472e commit 95144b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ STATISTIC(NumTransforms, "Number of transformations done");
8989
STATISTIC(NumCloned, "Number of blocks cloned");
9090
STATISTIC(NumPaths, "Number of individual paths threaded");
9191

92+
namespace llvm {
9293
static cl::opt<bool>
9394
ClViewCfgBefore("dfa-jump-view-cfg-before",
9495
cl::desc("View the CFG before DFA Jump Threading"),
@@ -119,6 +120,7 @@ static cl::opt<unsigned>
119120
CostThreshold("dfa-cost-threshold",
120121
cl::desc("Maximum cost accepted for the transformation"),
121122
cl::Hidden, cl::init(50));
123+
} // namespace llvm
122124

123125
static cl::opt<double> MaxClonedRate(
124126
"dfa-max-cloned-rate",

0 commit comments

Comments
 (0)