Sam Elliott
e9e58e405f
Keep Optimization Remark Yaml in NewPM
...
Summary:
The New Pass Manager infrastructure was forgetting to keep around the optimization remark yaml file that the compiler might have been producing. This meant setting the option to '-' for stdout worked, but setting it to a filename didn't give file output (presumably it was deleted because compilation didn't explicitly keep it). This change just ensures that the file is kept if compilation succeeds.
So far I have updated one of the optimization remark output tests to add a version with the new pass manager. It is my intention for this patch to also include changes to all tests that use `-opt-remark-output=` but I wanted to get the code patch ready for review while I was making all those changes.
Fixes https://bugs.llvm.org/show_bug.cgi?id=33951
Reviewers: anemet, chandlerc
Reviewed By: anemet, chandlerc
Subscribers: javed.absar, chandlerc, fhahn, llvm-commits
Differential Revision: https://reviews.llvm.org/D36906
llvm-svn: 311271
2017-08-20 01:30:45 +00:00
..
2017-08-17 09:29:59 +00:00
2017-08-02 21:43:08 +00:00
2017-07-01 03:24:09 +00:00
2016-12-03 00:41:43 +00:00
2017-08-17 09:29:59 +00:00
2017-08-20 01:30:45 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-07-27 23:53:58 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-12-16 19:12:02 +00:00
2016-10-06 23:57:25 +00:00
2017-03-07 18:47:30 +00:00
2016-11-11 22:51:46 +00:00
2016-10-06 23:57:25 +00:00
2017-07-28 20:21:02 +00:00
2016-10-19 19:22:02 +00:00
2017-07-28 20:21:02 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-12-19 17:13:37 +00:00
2017-02-10 21:09:07 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2017-08-08 18:07:44 +00:00
2017-08-17 09:29:59 +00:00
2016-10-06 23:57:25 +00:00
2017-07-19 08:53:34 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-07-06 14:26:59 +00:00
2016-09-26 17:08:37 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-07 15:20:13 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2017-07-19 05:16:39 +00:00
2016-10-06 23:57:25 +00:00
2017-07-08 16:34:46 +00:00
2017-08-17 09:29:59 +00:00
2016-10-06 23:57:25 +00:00
2017-07-31 13:21:42 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2017-07-19 05:16:39 +00:00
2017-07-19 05:16:39 +00:00
2016-10-31 13:17:31 +00:00
2016-10-31 13:17:31 +00:00
2016-10-31 13:17:31 +00:00
2017-07-19 05:16:39 +00:00
2017-07-19 05:16:39 +00:00
2016-10-06 23:57:25 +00:00
2017-07-19 05:16:39 +00:00
2017-01-26 10:41:09 +00:00
2017-04-10 20:18:21 +00:00
2017-04-07 14:15:34 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2017-07-19 05:16:39 +00:00
2017-06-27 17:53:22 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2017-02-12 09:32:53 +00:00
2016-04-15 15:57:41 +00:00
2016-06-15 00:35:26 +00:00
2016-11-11 22:51:46 +00:00
2016-03-17 20:32:37 +00:00
2016-03-17 20:32:37 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2015-08-11 15:56:31 +00:00
2017-01-19 00:42:28 +00:00
2017-04-21 14:14:54 +00:00
2016-03-26 23:32:57 +00:00
2016-10-06 23:57:25 +00:00
2016-08-12 22:47:13 +00:00
2017-07-18 11:57:08 +00:00
2017-02-12 09:32:53 +00:00
2017-01-19 00:42:28 +00:00
2017-05-13 13:25:57 +00:00
2017-07-12 19:53:55 +00:00
2016-10-06 23:57:25 +00:00
2016-06-29 10:01:06 +00:00
2016-10-06 23:57:25 +00:00
2017-01-18 19:02:52 +00:00
2016-09-21 16:50:24 +00:00
2017-02-14 16:28:32 +00:00
2017-07-19 05:16:39 +00:00
2017-07-19 05:16:39 +00:00
2015-08-27 20:43:29 +00:00
2016-10-06 23:57:25 +00:00
2016-09-26 17:08:37 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2017-06-30 08:02:35 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2017-06-19 18:48:58 +00:00
2016-10-06 23:57:25 +00:00
2017-03-23 20:02:23 +00:00
2015-05-06 17:12:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2017-07-25 10:35:16 +00:00
2016-10-06 23:57:25 +00:00
2017-04-07 14:15:34 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00