fix PR5287, a serious regression from my previous patches. Thanks to
authorChris Lattner <sabre@nondot.org>
Sat, 24 Oct 2009 05:22:15 +0000 (05:22 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 24 Oct 2009 05:22:15 +0000 (05:22 +0000)
commitc5af649758ac8c6ffb896d7d5c570640a9fa1dee
tree1d3361f3c33ef7f0e0af1a65a5ac58b8e44eabf9
parent66284e063a1e46500acae48bdc0e4a00652021d1
fix PR5287, a serious regression from my previous patches.  Thanks to
Duncan for the nice tiny testcase.

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