[PATCH] D36906: Keep Optimization Remark Yaml in NewPM

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 19 01:42:06 PDT 2017


chandlerc requested changes to this revision.
chandlerc added inline comments.
This revision now requires changes to proceed.


================
Comment at: tools/opt/opt.cpp:547-548
+
+      if (OptRemarkFile)
+        OptRemarkFile->keep();
+
----------------
For `Out` and `ThinLinkOut`, we do the `->keep()` call inside `runPassPipeline`. I would keep this consistent with the other files.


https://reviews.llvm.org/D36906





More information about the llvm-commits mailing list