HomePhabricator

GlobalValue: use getValueType() instead of getType()->getPointerElementType().
Audit RequiredrL257999

Description

GlobalValue: use getValueType() instead of getType()->getPointerElementType().

Reviewers: mjacob

Subscribers: jholewinski, arsenm, dsanders, dblaikie

Patch by Eduard Burtescu.

Differential Revision: http://reviews.llvm.org/D16260

Details