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,
131131 " Number of 1 bit virtual constant propagations" );
132132STATISTIC (NumVirtConstProp, " Number of virtual constant propagations" );
133133
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 {
140135
141136static cl::opt<PassSummaryAction> ClSummaryAction (
142137 " wholeprogramdevirt-summary-action" ,
@@ -161,6 +156,13 @@ static cl::opt<std::string> ClWriteSummary(
161156 " bitcode, otherwise YAML" ),
162157 cl::Hidden);
163158
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+
164166static cl::opt<unsigned >
165167 ClThreshold (" wholeprogramdevirt-branch-funnel-threshold" , cl::Hidden,
166168 cl::init (10 ),
You can’t perform that action at this time.
0 commit comments