This is of course in preparation of https://reviews.llvm.org/D133753. I think this patch is needed no matter how the array filler approach ends up.
Pass the initializer of the variable through when creating variables. This way we can later inspect the initializer in Program::createDescriptor() for the array size.