[GVN] Fix metadata combining for non-local loads
Make MaterializeAdjustedValue() responsible for adjusting load metadata in all cases, so it also covers the non-local case. In conjunction with that, we no longer need to call patchReplacementInstruction() for the local case, which would unnecessarily drop metadata if the replacement value just happened to be a load (without actual load CSE).
parent
80fda7a3
Please register or sign in to comment