Add regex handling for all variations of OPT_R_Joined, i.e.
-Rpass, -Rpass-analysis, -Rpass-missed.
Depends on D158174. That patch implements backend support for
R_Group options.
Paths
| Differential D158436
[Flang][Driver] Add regex support for R_Group options ClosedPublic Authored by victorkingi on Aug 21 2023, 9:22 AM.
Details Summary Add regex handling for all variations of OPT_R_Joined, i.e. Depends on D158174. That patch implements backend support for
Diff Detail
Event Timeline
victorkingi marked 3 inline comments as done. Comment ActionsChanged optimization-remark.f90 test code to generate more unique victorkingi added inline comments.
Comment Actions Makes sense, a few minor suggestion. Also, could you rebase on top of main?
victorkingi marked 3 inline comments as done. Comment ActionsReused same definition of the output in optimization-remark.f90 as well Replaced '-c' flag references with '-S' to only handle pre-process and
Comment Actions LGTM, thank you for addressing my comments!
This revision is now accepted and ready to land.Aug 30 2023, 6:43 AM victorkingi marked an inline comment as done. Comment Actionsupdated comment in optimization-remark.f90, attempt to fix failing test This revision was landed with ongoing or failed builds.Aug 31 2023, 4:16 AM Closed by commit rG8e315c6ce558: [Flang][Driver] Add regex support for R_Group options (authored by Victor Kingi <victor.kingi@arm.com>). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 554967 flang/include/flang/Frontend/CodeGenOptions.h
flang/lib/Frontend/CompilerInvocation.cpp
flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
flang/test/Driver/optimization-remark-invalid.f90
flang/test/Driver/optimization-remark.f90 |
[nit] This is unrelated to this change, so just a nice-to-have