================
@@ -497,8 +497,18 @@ static void
parseCodeGenArgs(Fortran::frontend::CodeGenOptions &opts,
opts.IsPIE = 1;
}
- if (args.hasArg(clang::options::OPT_fprofile_generate)) {
- opts.setProfileInstr(llvm::driver::ProfileInstrKind::ProfileIRInstr);
+ if (const llvm::opt::Arg *a =
----------------
tarunprabhu wrote:
I think it's reasonable to merge this now and refactor it when support for the
other PGO-related options is added. But please consider adding an actual TODO
message to the code just so we don't forget. We should try to avoid duplicating
too much code before we refactor.
https://github.com/llvm/llvm-project/pull/216643
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits