[PATCH] D25225: Add an option to save the backend-produced YAML optimization record to a file

Hal Finkel via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 10 17:16:34 PDT 2016


hfinkel added a comment.

In https://reviews.llvm.org/D25225#566854, @rsmith wrote:

> As discussed on IRC, I have a mild concern about using `-fsave-optimization-record` (with no argument) to enable the feature, and `-fsave-optimization-record=X` to enable the feature and specify a filename; in most (but not all) cases, `-option arg` and `-option=arg` mean the same thing. Other than that, this looks good to me.


For the record (pun intended, I suppose), we discussed on IRC adding a separate -foptimization-record-file=filename to set the file name.


https://reviews.llvm.org/D25225





More information about the cfe-commits mailing list