[PATCH] D34795: Supporting -f(no)-reorder-functions flag, llvm side change

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 09:45:39 PDT 2017


davidxl added inline comments.


================
Comment at: lib/CodeGen/CodeGenPrepare.cpp:306
+  bool AddProfileGuidedSectionPrefix =
+      (!TM || ProfileGuidedSectionPrefix.getNumOccurrences())
+          ? ProfileGuidedSectionPrefix
----------------
Can TM be null?


https://reviews.llvm.org/D34795





More information about the llvm-commits mailing list