Closed jakobbotsch closed 3 months ago
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch See info in area-owners.md if you want to be subscribed.
Simplest fix is probably just to add it next to the existing case: https://github.com/dotnet/runtime/blob/6931b3b729ec050f935f958122d3cc66bb46fdcf/src/coreclr/jit/valuenum.cpp#L13059-L13068
Although, it seems cleaner to give it HW_Flag_SpecialSideEffect_Other
and then teach VN that it should always give HW intrinsics with that flag unique VNs. Let me try opening a PR with that change.
These are nullary HW intrinsics that read from state that we do not model. VN should be giving them new unique VNs to model this. Right now I would expect two
GetFfr
calls to be CSE'd regardless of interfering intrinsics that may redefineffr
.cc @dotnet/jit-contrib @dotnet/arm64-contrib