Open-Turing-Project/OpenTuringCompiler — Issue #36: Array indices (and possibly other things) might not be optimized properly
Author: trishume
Created: 2012-02-29 23:14:53+00:00
State: open

Common array index subexpressions should be eliminated but I don't think they are.

I think this is because the optimizer does not know that TuringIndexArray has no side effects.