| commit | 42d3af9d95370a9ff3844079966a34f23384ed55 | [log] [tgz] |
|---|---|---|
| author | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Dec 07 00:43:50 2011 +0000 |
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | Wed Dec 07 00:43:50 2011 +0000 |
| tree | 9a7e58bf8a75c46abf00960edce63485c4075af1 | |
| parent | 6bdeb14d5d347b17c9bde8ab39c9d69b16a56a13 [diff] |
When folding the size of a global scope VLA to a constant, require the array bound to not have side effects(!). Add constant-folding support for expressions of void type, to ensure that we can still fold ((void)0, 1) as an array bound. llvm-svn: 146000