File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -131,12 +131,7 @@ STATISTIC(NumVirtConstProp1Bit,
131
131
" Number of 1 bit virtual constant propagations" );
132
132
STATISTIC (NumVirtConstProp, " Number of virtual constant propagations" );
133
133
134
- // TODO: This option eventually should support any public visibility vtables
135
- // with/out LTO.
136
- static cl::opt<bool > ClDevirtualizeSpeculatively (
137
- " devirtualize-speculatively" ,
138
- cl::desc (" Enable speculative devirtualization optimization" ),
139
- cl::init(false ));
134
+ namespace llvm {
140
135
141
136
static cl::opt<PassSummaryAction> ClSummaryAction (
142
137
" wholeprogramdevirt-summary-action" ,
@@ -161,6 +156,13 @@ static cl::opt<std::string> ClWriteSummary(
161
156
" bitcode, otherwise YAML" ),
162
157
cl::Hidden);
163
158
159
+ // TODO: This option eventually should support any public visibility vtables
160
+ // with/out LTO.
161
+ static cl::opt<bool > ClDevirtualizeSpeculatively (
162
+ " devirtualize-speculatively" ,
163
+ cl::desc (" Enable speculative devirtualization optimization" ),
164
+ cl::init(false ));
165
+
164
166
static cl::opt<unsigned >
165
167
ClThreshold (" wholeprogramdevirt-branch-funnel-threshold" , cl::Hidden,
166
168
cl::init (10 ),
You can’t perform that action at this time.
0 commit comments