HomePhabricator

[opaque pointer types] Update LoadInst creation APIs to consistently accept a…

Authored by jyknight on Jan 14 2019, 1:37 PM.

Description

[opaque pointer types] Update LoadInst creation APIs to consistently accept a return-type argument.

Note: this also adds a new C API and soft-deprecates the old C API.

Differential Revision: https://reviews.llvm.org/D56558

llvm-svn: 351123