weiwang added a comment. In D85808#2403587 <https://reviews.llvm.org/D85808#2403587>, @tejohnson wrote:
> Thanks for adding the Driver test. I was thinking of something to test the > CompilerInvocation changes, similar to your test using opt, that ensures the > option has the desired behavior when invoked via clang. Looks like there is > an existing test clang/test/Frontend/optimization-remark-with-hotness.c that > perhaps could be extended or leveraged? Thanks for the suggestion. I have added a new test case for clang. The source file used is the same one in the opt test case. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D85808/new/ https://reviews.llvm.org/D85808 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits