The ParallelRegionInfo offers a safe approximation to determine if an
alloca can be promoted. With this patch SROA and Mem2Reg will consult
the ParallelRegionInfo before promotion.
TODO: Not all users of "isAllocaPromotable" are updated. The
DominatorTree and ParallelRegionInfo should not be optional arguments to
that function.