Don't crash trying to promote VLAs.
authorNick Lewycky <nicholas@mxc.ca>
Mon, 17 Aug 2009 05:37:31 +0000 (05:37 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 17 Aug 2009 05:37:31 +0000 (05:37 +0000)
commitd3aa25e2a8b04853f03341b6275ef7718659b915
tree47450ebf141d6c3daf6a988af98a993f258206bd
parent4113f2e1f1f50651b87d894e72f86faa3dcc970e
Don't crash trying to promote VLAs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79226 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/ScalarReplAggregates.cpp
test/Transforms/ScalarRepl/2009-08-16-VLA.ll [new file with mode: 0644]