avoid dividing by zero when dealing with zero sized types (like [0 x double])
authorChris Lattner <sabre@nondot.org>
Mon, 23 Jun 2003 17:36:49 +0000 (17:36 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 23 Jun 2003 17:36:49 +0000 (17:36 +0000)
commit8a334a4035ecbfcbba7f0e8613c352349be65271
treec904ff3a786683b555256586c27f99eae46784c9
parent80544444a300fa374a8a46d06d1f910b9da5516c
avoid dividing by zero when dealing with zero sized types (like [0 x double])

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6862 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/ExprTypeConvert.cpp
lib/Transforms/TransformInternals.cpp