Dinakar and I fixed a bug where we were trying to get the initializer of
authorJohn Criswell <criswell@uiuc.edu>
Thu, 17 Jul 2003 19:06:55 +0000 (19:06 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Thu, 17 Jul 2003 19:06:55 +0000 (19:06 +0000)
commita676b787917559c246298ec789ce0ea290f95a70
treed7f70b5c90b2260c68b8f6929865e85d464088f8
parentcab8b6f448aadbe66fe44bc570d07a8eaf96ab40
Dinakar and I fixed a bug where we were trying to get the initializer of
an external constant.  Since external constants don't have initializers, we
were failing on an assert() call in llvm/GlobalVariable.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7193 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp