1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/Bitcode
Peter Collingbourne f6bbbabcc3 BitcodeWriter: Remove redundant (and incorrect) check for whether to emit module summary.
The function name Module::empty() is slightly misleading in that it
only tests for the presence of functions in the module. However we
still want to emit the module summary if the module contains only
global variables or aliases. The presence of such entities can be
determined simply by checking the summary directly, as we are doing
below.

Differential Revision: http://reviews.llvm.org/D21669

llvm-svn: 273638
2016-06-24 01:58:02 +00:00
..
Reader Revert r273568 "Remangle intrinsics names when types are renamed" 2016-06-23 16:13:23 +00:00
Writer BitcodeWriter: Remove redundant (and incorrect) check for whether to emit module summary. 2016-06-24 01:58:02 +00:00
CMakeLists.txt
LLVMBuild.txt