hoist the check for alloca size up so that it controls CanConvertToScalar
authorChris Lattner <sabre@nondot.org>
Sun, 1 Mar 2009 02:26:47 +0000 (02:26 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 1 Mar 2009 02:26:47 +0000 (02:26 +0000)
commitaf89a3f1d3bc77f5f0c39ef8189b4506462b0111
treef84804ed3197dccf51507544ba2676155b2d01ec
parent870b80722f7ce3232dd45e95cff663d177e0acc0
hoist the check for alloca size up so that it controls CanConvertToScalar
as well as isSafeAllocaToScalarRepl.

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