Don't crash trying to promote VLAs.
commit3db0ba7c7d6eaebb27bfe1f5111fff780f610829
authorNick Lewycky <nicholas@mxc.ca>
Mon, 17 Aug 2009 05:37:31 +0000 (17 05:37 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Mon, 17 Aug 2009 05:37:31 +0000 (17 05:37 +0000)
tree47450ebf141d6c3daf6a988af98a993f258206bd
parent0d546fd69fbf0b61d1afc681894f0a9825eaefc2
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]