commit | 8f39f5e96ce4a5f401f431f61db7df1cf05dce6f | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Sat Dec 20 23:11:59 2008 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Sat Dec 20 23:11:59 2008 +0000 |
tree | 1516014931caadbe009dd48ee1ab8ac900abc638 | |
parent | fcdbb93749ed69aa9022437052c390522355ec3d [diff] |
Make VLAs usable, and make basic usage work correctly. Also, add a simple test that actually does VLA codegen. Note that despite the fact that the alloca isn't in the entry block, it should dominate all uses; this is guaranteed by the restrictions on goto into VLA scope in C99. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61291 91177308-0d34-0410-b5e6-96231b3b80d8