Push array_get
s through array_set
s if they act on different constant indices.
#5767
Labels
array_get
s through array_set
s if they act on different constant indices.
#5767
Looking at the
conditional_1
program failure on #5762 I noticed that we're generating SSA with snippets of the form.It's clear that
v11061 == v8829
, etc. as thearray_set
only affects the index 32. We could then optimize out all of thesearray_gets
using this knowledge.The text was updated successfully, but these errors were encountered: