Fix rdar://7694996 a miscompile of 183.equake from my patch yesterday,
authorChris Lattner <sabre@nondot.org>
Fri, 26 Feb 2010 23:42:13 +0000 (23:42 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 26 Feb 2010 23:42:13 +0000 (23:42 +0000)
commite9fd444dcd59f5b17bd30f919cb1b3a50519d3c1
tree301e9153a3ff6d01e355865f201c418b73ce76e5
parentc6a669b6e7fb13669abefa62c6ac4f871b84bb0b
Fix rdar://7694996 a miscompile of 183.equake from my patch yesterday,
confusing the old MAT variable with the new GlobalType one.  This caused
us to promote the @disp global pointer into:

@disp.body = internal global double*** undef

instead of:

@disp.body = internal global [3 x double**] undef

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97285 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/GlobalOpt.cpp