You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, GVN replaces %v2 with %v1.
Maybe I'm missing something here. Other passes may have provided incorrect alias information.
From the LLVM Alias Analysis Infrastructure, my understanding is that the alias method returns alias when two memory objects alias each other. And the getModRefInfo returns ModRef when an/any alias exists.
The text was updated successfully, but these errors were encountered:
This IR is reduced from rust-lang/rust#116976.
godbolt: https://llvm.godbolt.org/z/7sTrhYdMo
Currently, GVN replaces
%v2
with%v1
.Maybe I'm missing something here. Other passes may have provided incorrect alias information.
From the LLVM Alias Analysis Infrastructure, my understanding is that the
alias
method returns alias when two memory objects alias each other. And thegetModRefInfo
returnsModRef
when an/any alias exists.The text was updated successfully, but these errors were encountered: