[opaque pointer types] Add an explicit pointee type to alias records in the IR
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 17 Sep 2015 22:18:59 +0000 (22:18 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 17 Sep 2015 22:18:59 +0000 (22:18 +0000)
commit5fab6109a3d90ee03f145343a25c3904d882bbd8
treefc75c48d1e944d5a4fe5b9cecff387279049c2a4
parent7f61c22d4194e57cf42b15073b303f43a23a5b93
[opaque pointer types] Add an explicit pointee type to alias records in the IR

Since aliases actually use and verify their explicit type already, no
further invalid testing is required here. The
invalid.test:ALIAS-TYPE-MISMATCH case catches errors due to emitting a
non-pointee type in the new format or a non-pointer type in the old
format.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247952 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/LLVMBitCodes.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp