[opaque pointer type] Use GlobalVariable::getValueType rather than accessing it throu...
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 13 May 2015 22:54:54 +0000 (22:54 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 13 May 2015 22:54:54 +0000 (22:54 +0000)
commitea3c20f400ff486d51ec753c759ef6be40f18eec
treefbd2bb3cde4c48f5bed5e9722179e2cb9e6849fa
parenta8a342bb41b45fdd19b712041040a55df8236569
[opaque pointer type] Use GlobalVariable::getValueType rather than accessing it through the GV's pointee type

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237311 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/ConstantFold.cpp