mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-30 12:21:37 +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