[PATCH] D35593: ThinLTOBitcodeWriter: Do not rewrite intrinsic functions when splitting modules.

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 06:59:01 PDT 2017


tejohnson accepted this revision.
tejohnson added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp:145
+    if (!F.isDeclaration() || F.getFunctionType() == EmptyFT ||
+        F.getName().startswith("llvm."))
       continue;
----------------
Suggest adding a comment.


https://reviews.llvm.org/D35593





More information about the llvm-commits mailing list