[OpenMP][NFC] Add an option to print the module before in OpenMPOpt
authorJoseph Huber <jhuber6@vols.utk.edu>
Tue, 1 Mar 2022 21:33:26 +0000 (16:33 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Tue, 1 Mar 2022 22:09:09 +0000 (17:09 -0500)
commit6632180745a2679cfd4631a607759ccc519e5da5
tree0f05b47b0b4ccbb42901951de3f03dae92604e74
parent026fe5ffc3521f56fe7f3b9a254e26e14bed8851
[OpenMP][NFC] Add an option to print the module before in OpenMPOpt

Previously there was a debug flag to print the module after
optimizations. Sometimes we wanted to print the module before
optimizations so this is being split into two flags.
`-openmp-opt-print-module` is now `-openmp-opt-print-module-after`.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D120768
llvm/lib/Transforms/IPO/OpenMPOpt.cpp