Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[jit] Make alias analysis properly handle alias cloberring
Alias analysis attempts to remove indirection when using OP_LDADDR (which fetches the address of a variable). For example : ldaddr r1 <- r0 load_mem r2 <- r1 is equivalent to mov r2 <- r0 The remembered r1 alias needs to be forgotten in case r1 is changed. We were handling this for direct assignment with MOV, but not for the more subtle case where an alias to r1 would be passed to a call, which could lead to changing r1. mono#14872
- Loading branch information