Revert "[opaque pointer type] Avoid using PointerType::getElementType for a few cases...
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 22 Apr 2015 18:16:49 +0000 (18:16 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 22 Apr 2015 18:16:49 +0000 (18:16 +0000)
commitd2db881e8552ec3e5a1b20f91e8d07d6424d6855
tree58adcc7630cf4f69e534702e06a532f15d32e227
parent037b700b7f0caecabc745217fd421c8bca06f6eb
Revert "[opaque pointer type] Avoid using PointerType::getElementType for a few cases of CallInst"

This reverts commit r235458.

It looks like this might be breaking something LTO-ish. Looking into it
& will recommit with a fix/test case/etc once I've got more to go on.

llvm-svn: 235533
llvm/include/llvm/IR/CallSite.h
llvm/include/llvm/IR/Instructions.h
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/IR/Instructions.cpp
llvm/lib/IR/Verifier.cpp
llvm/lib/Transforms/Utils/ValueMapper.cpp
llvm/lib/Transforms/Vectorize/BBVectorize.cpp