-
Notifications
You must be signed in to change notification settings - Fork 18.5k
cmd/compile/internal/ssa: fix location lists bug #64944
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
base: master
Are you sure you want to change the base?
Conversation
|
This PR (HEAD: f701257) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/553735. Important tips:
|
bafe4cd to
e8eb998
Compare
|
This PR (HEAD: e8eb998) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/553735. Important tips:
|
Before this change there was a bug which can occur when an SSA'd variable has multiple different values (slots) corresponding to the same piece of variable. Before this change, the locations of each type of a piece would be concatenated, resulting in nonsensical location information with more pieces than there ought to be for the data type. This patch rectifies the situation by associating the slots corresponding to the same piece and computing the location of that piece by coalescing the locations of the corresponding slots. Additionally, this change tries to clean up some of the terminology by eliminating use of the word "part" which was ambiguious with regards to slots and pieces. Fixes golang#61700
e8eb998 to
ab3dfbb
Compare
|
This PR (HEAD: ab3dfbb) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/553735. Important tips:
|
|
Message from David Chase: Patch Set 3: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/553735. |
|
Message from Go LUCI: Patch Set 3: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2024-01-08T22:22:26Z","revision":"edfab1e1b6f874b9b401bcf68826f66d6e1e389a"} Please don’t reply on this GitHub thread. Visit golang.org/cl/553735. |
|
Message from David Chase: Patch Set 3: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/553735. |
|
Message from Go LUCI: Patch Set 3: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/553735. |
|
Message from Go LUCI: Patch Set 3: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/553735. |
|
Message from Andrew Werner: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553735. |
Before this change there was a bug which can occur when an SSA'd
variable has multiple different values (slots) corresponding to the same
piece of variable. Before this change, the locations of each type of
a piece would be concatenated, resulting in nonsensical location
information with more pieces than there ought to be for the data type.
This patch rectifies the situation by associating the slots
corresponding to the same piece and computing the location of that piece
by coalescing the locations of the corresponding slots.
Fixes #61700