Support arrays in IR