================
@@ -1629,6 +1630,23 @@
PassBuilder::buildModuleOptimizationPipeline(OptimizationLevel Level,
if (!LTOPreLink)
MPM.addPass(RelLookupTableConverterPass());
+ if (PTO.WholeProgramDevirt && LTOPhase == ThinOrFullLTOPhase::None) {
----------------
hassnaaHamdi wrote:
Hi Teresa, thanks for looking at the patch.
It's okay to enable it by default. I just added the flag as a first step.
https://github.com/llvm/llvm-project/pull/145031
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits