Handle IR generation for access to global variables of compound type.