Fix PR5551 by not ignoring the top level constantexpr when
authorChris Lattner <sabre@nondot.org>
Fri, 4 Dec 2009 06:29:29 +0000 (06:29 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 4 Dec 2009 06:29:29 +0000 (06:29 +0000)
commit44a7a380aa9fbb303f57f4f8269062b7b56be980
tree844e2b9e276bd18c2aa3d7ea9c99dfd4ab20a45d
parentbbf9a5845acf35167211128b1b4b1b81d38ccb31
Fix PR5551 by not ignoring the top level constantexpr when
folding a load from constant.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90545 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ConstantFolding.cpp
test/Transforms/ConstProp/loads.ll