[PATCH] D26832: [LTO] Add option to generate optimization records

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 22:10:33 PST 2016


mehdi_amini added inline comments.


================
Comment at: llvm/trunk/lib/LTO/LTOCodeGenerator.cpp:570
 
+  finishOptimizationRemarks();
+
----------------
Actually there is an issue with this code: the backend can also emit remarks, but they may not be in the file, or the file be truncated because you flushed early but not after the backend it complete.


Repository:
  rL LLVM

https://reviews.llvm.org/D26832





More information about the llvm-commits mailing list