Check Type::isSized before calling ScalarEvolution::getAllocSizeExpr,
authorDan Gohman <gohman@apple.com>
Thu, 28 Jan 2010 06:32:46 +0000 (06:32 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 28 Jan 2010 06:32:46 +0000 (06:32 +0000)
commit150dfa87113e51881c75676edd8e3549eb702d99
treecea98533ecbe08d76831830e757d0eb6c9b906ca
parenta34103f6fa6f21025518596efc73631eb899410b
Check Type::isSized before calling ScalarEvolution::getAllocSizeExpr,
rather than after.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94742 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolutionExpander.cpp