[PATCH] D27790: Pass sample pgo flags to thinlto.

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 15 16:24:42 PST 2016


tejohnson added inline comments.


================
Comment at: lib/LTO/LTO.cpp:135
+    if (FileOrErr)
+      Hasher.update(FileOrErr.get()->getBuffer());
+  }
----------------
Will this be expensive, for large apps with large profiles? Since this is the same for each backend, can we compute once and pass down?


https://reviews.llvm.org/D27790





More information about the llvm-commits mailing list