-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Address a couple TODO-ADDRs
#84906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address a couple TODO-ADDRs
#84906
Conversation
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak Issue DetailsJust the simple items. Couple regressions are expected from the
|
b01acc3 to
4854d03
Compare
| if (addr->isContained() && addr->OperIs(GT_LCL_ADDR)) | ||
| { | ||
| genEmitStoreLclTypeSimd12(treeNode, addr->AsLclFld()->GetLclNum(), addr->AsLclFld()->GetLclOffs()); | ||
| genUpdateLife(treeNode); | ||
| return; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An alternative fix to this would have been to simply disallow containment of local addresses for SIMD12s.
This would work because accurate liveness tracking for SIMD12s is neither used nor important, but it felt more consistent with the rest of codegen to handle it. Perhaps, one day, we'll delete this code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's quite confusing that emitHandleMemOp does not support contained LCL_ADDR nodes when Lowering::ContainCheckIndir does. I wonder if we have more bugs around this.
Just the simple items.