memref_referenced_p(); otherwise there are cases where a later set that changes the memory location may be moved too early, and thus the new value will be (incorrectly) used where it should not be.