[CodeGen] Emit aliasing metadata for new arrays.
Ensure that all array base pointers are assigned before generating
aliasing metadata by allocating new arrays beforehand.
Before this patch, getBasePtr() returned nullptr for new arrays because
the arrays were created at a later point. Nullptr did not match to any
array after the created array base pointers have been assigned and when
the loads/stores are generated.
git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@305675 91177308-0d34-0410-b5e6-96231b3b80d8