mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-02 19:36:06 +00:00

Many of the callers already have the pointer type anyway, and for the couple of callers that don't it's pretty easy to call PointerType::get on the pointee type and address space. This avoids LLParser from using PointerType::getElementType when parsing GlobalAliases from IR. llvm-svn: 236160