]> granicus.if.org Git - llvm/commit
ThinLTOBitcodeWriter: Do not rewrite intrinsic functions when splitting modules.
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 19 Jul 2017 17:54:29 +0000 (17:54 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 19 Jul 2017 17:54:29 +0000 (17:54 +0000)
commit0bd44fcf7ce6241eb750ba45a3eb3ea3c04c5bfb
tree1052f462ecf05c930ff38a0a14bcab192edc5f5b
parent36c6a2ea9669bc3bb695928529a85d12d1d3e3f9
ThinLTOBitcodeWriter: Do not rewrite intrinsic functions when splitting modules.

Changing the type of an intrinsic may invalidate the IR.

Differential Revision: https://reviews.llvm.org/D35593

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308500 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
test/Transforms/ThinLTOBitcodeWriter/split-vfunc.ll