if we know that
depends only on
.
The
code is the equivalent of
.
Since
will be some combination of the instructions provided
by the virtual machine, we should be able to actually determine if
has that desired property.
This is not currently implemented, but I fail to see why it should not be possible. We may not be able to spot every special case of instruction combinations, but it is often the simple cases that are the interesting ones, since the majority of computing code spends it's time in fairly simple loop constructs. If we can just catch enough cases to benefit in most situations, it will be good enough. But I'm not yet sure if there would be any problem in detecting all cases.
The resulting code will lend itself very well to the sequence parallelizer.