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)
commitcfe6126e173abd0ecdddb2523fe4283291afd88d
tree396837844e8539b8acfcaeb1f5af39a65ae75c33
parentc61f7144eb93346edf699403961baf627d665af6
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235533 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/CallSite.h
include/llvm/IR/Instructions.h
lib/AsmParser/LLParser.cpp
lib/Bitcode/Reader/BitcodeReader.cpp
lib/IR/Instructions.cpp
lib/IR/Verifier.cpp
lib/Transforms/Utils/ValueMapper.cpp
lib/Transforms/Vectorize/BBVectorize.cpp