The DeLICM (and Known) pass will remove redundant explicit memory accesses. This patch prepares the code generator to ignore such removed access. The code currently has no effect because there is no pass except Invariant Load Hoisting yet that removes accesses. The hoisted loads are skipped because their value is already found in GlobalMap.
Opening for review since Tobias mentioned concerns about generateArrayLoad returning Undef.