================
@@ -1641,6 +1642,24 @@ 
PassBuilder::buildModuleOptimizationPipeline(OptimizationLevel Level,
   if (!LTOPreLink)
     MPM.addPass(RelLookupTableConverterPass());
 
+  if (PTO.DevirtualizeSpeculatively && LTOPhase == ThinOrFullLTOPhase::None) {
----------------
hassnaaHamdi wrote:

Sorry, TODO about what ? This check here is because that if LTO is enabled, the 
WPD pass will be already added to the LTO pipeline, so we should not add it 
again here.


https://github.com/llvm/llvm-project/pull/159685
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to