================
@@ -160,8 +160,6 @@ static cl::opt<std::string> ClWriteSummary(
              "bitcode, otherwise YAML"),
     cl::Hidden);
 
-// TODO: This option eventually should support any public visibility vtables
-// with/out LTO.
 static cl::opt<bool> ClDevirtualizeSpeculatively(
----------------
teresajohnson wrote:

upstream has since moved the WPD cl::opts to IPOOptions.td 
(getIPOOptions(M).devirtualize_speculatively, per LLVMContext), so this needs a 
rebase. DevirtIndex has no Module; the cleanest path is a const LLVMContext * 
parameter on runWholeProgramDevirtOnIndex passed from LTO.cpp (&RegularLTO.Ctx).

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

Reply via email to