-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Make more extensive use of lvaGetDesc() #61494
Conversation
Tagging subscribers to this area: @JulieLeeMSFT Issue DetailsIncluding the version with a I mostly replaced Made many resulting Removed unused Simplifies code, and centralizes assert checking. Added new This deletes many
|
/azp run runtime-coreclr jitstress |
Azure Pipelines successfully started running 1 pipeline(s). |
Including the version with a `GenTreeLclVarCommon*` overload. I mostly replaced `&lvaTable[varNum]` and `lvaTable + varNum` expressions, leaving `lvaTable[varNum].xxx`. Made many resulting `varDsc*` const. Removed unused `lvaRefCount`. Simplifies code, and centralizes assert checking. Added new `lvaGetLclNum(LclVarDsc*)` function to map back to a varNum. This deletes many `noway_assert` in favor of the lvaGetDesc `assert`; I'm not worried about removing asserts from the Release build.
47c845f
to
ccf0b25
Compare
Rebased/re-pushed to see if the CI will be more compliant |
/azp run runtime-coreclr jitstress |
Azure Pipelines successfully started running 1 pipeline(s). |
@dotnet/jit-contrib PTAL |
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.
LGTM.
I only skimmed the first few hundred diffs.
Including the version with a
GenTreeLclVarCommon*
overload.I mostly replaced
&lvaTable[varNum]
andlvaTable + varNum
expressions, leaving
lvaTable[varNum].xxx
.Made many resulting
varDsc*
const.Removed unused
lvaRefCount
.Simplifies code, and centralizes assert checking.
Added new
lvaGetLclNum(LclVarDsc*)
function to map back to a varNum.This deletes many
noway_assert
in favor of the lvaGetDescassert
;I'm not worried about removing asserts from the Release build.
No asm diffs