Remove a bad cast in CloneModule()
authorMichael Kuperstein <michael.m.kuperstein@intel.com>
Tue, 23 Dec 2014 08:23:45 +0000 (08:23 +0000)
committerMichael Kuperstein <michael.m.kuperstein@intel.com>
Tue, 23 Dec 2014 08:23:45 +0000 (08:23 +0000)
commitfc86f5fc9f42458408d938df9928f53a1c27e0fd
treeec0e09550f2a6c52d9e660b3d029d92aacad8949
parentbc47ceef4361068e8f49cc26b95d3f343e1db611
Remove a bad cast in CloneModule()

A cast that was introduced in r209007 was accidentally left in after the changes made to GlobalAlias rules in r210062. This crashes if the aliasee is a now-leggal ConstantExpr.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224756 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/CloneModule.cpp