commit | 6d82f9d3383e7f0fae93418a9a98f0c8e9a2d05b | [log] [tgz] |
---|---|---|
author | Zhongxing Xu <xuzhongxing@gmail.com> | Thu Nov 13 07:58:20 2008 +0000 |
committer | Zhongxing Xu <xuzhongxing@gmail.com> | Thu Nov 13 07:58:20 2008 +0000 |
tree | 94036748e45e23880747fad82d615d00ff36eabf | |
parent | 56af9773056eb064937c872845c0da6e3d46d4b4 [diff] |
Lift the pointer to alloca'ed region to the pointer to its first element. This is required by some operations, e.g., *p = 1; p[0] = 1;. Also set the AllocaRegion's type during the cast. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59232 91177308-0d34-0410-b5e6-96231b3b80d8