[OpenMP][NFC] Add option to print module after OpenMPOpt for debugging
authorJoseph Huber <jhuber6@vols.utk.edu>
Mon, 16 Aug 2021 17:06:54 +0000 (13:06 -0400)
committerJoseph Huber <jhuber6@vols.utk.edu>
Tue, 17 Aug 2021 16:46:10 +0000 (12:46 -0400)
commit339aa765265e88f0737bc45f75a53b812604dddb
tree71f9d03f8242ff613f4f52c033c2333226a7a4e2
parent982da7a20c406c5725b5fe20d699a78069e54ffa
[OpenMP][NFC] Add option to print module after OpenMPOpt for debugging

This patch adds an extra option to print the module after running one of
the OpenMPOpt passes if debugging is enabled. This makes it much easier
to inspect the effects of this pass when doing debugging.

Reviewed By: jdoerfert

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