llvm-project/llvm/lib/Bitcode/Writer
Justin Bogner a43eacbf9e Bitcode: Fix reading and writing of ConstantDataVectors of halfs
In r254991 I allowed ConstantDataVectors to contain elements of
HalfTy, but I missed updating the bitcode reader and writer to handle
this, so now we crash if we try to emit bitcode on programs that have
constant vectors of half.

This fixes the issue and adds test coverage for reading and writing
constant sequences in bitcode.

llvm-svn: 256982
2016-01-06 22:31:32 +00:00
..
BitWriter.cpp Introduce LLVMWriteBitcodeToMemoryBuffer C API function. 2014-10-14 00:30:59 +00:00
BitcodeWriter.cpp Bitcode: Fix reading and writing of ConstantDataVectors of halfs 2016-01-06 22:31:32 +00:00
BitcodeWriterPass.cpp Support for function summary index bitcode sections and files. 2015-10-04 14:33:43 +00:00
CMakeLists.txt modules: Add explicit dependency on intrinsics_gen 2015-06-16 00:44:12 +00:00
LLVMBuild.txt
Makefile
ValueEnumerator.cpp Rename MDValue* to Metadata* (NFC) 2015-12-29 23:00:22 +00:00
ValueEnumerator.h Rename MDValue* to Metadata* (NFC) 2015-12-29 23:00:22 +00:00