Skip to content
Commit 0dbeeaa8 authored by Zhongxing Xu's avatar Zhongxing Xu
Browse files

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.

llvm-svn: 59232
parent 4af89f7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment