Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(142)

Issue 56910045: code review 56910045: cmd/6g, cmd/8g, cmd/5g: make the undefined instruction ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 5 months ago by DMorsing
Modified:
11 years, 4 months ago
Reviewers:
gobot, rsc, iant
CC:
golang-codereviews, bradfitz, iant, dave_cheney.net, rsc
Visibility:
Public.

Description

cmd/6g, cmd/8g, cmd/5g: make the undefined instruction have no successors The UNDEF instruction was listed in the instruction data as having the next instruction in the stream as its successor. This confused the optimizer into adding a load where it wasn't needed, in turn confusing the liveness analysis pass for GC bitmaps into thinking that the variable was live. Fixes issue 7229.

Patch Set 1 #

Patch Set 2 : diff -r 459f7bc40d85 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 459f7bc40d85 https://code.google.com/p/go/ #

Patch Set 4 : diff -r 2b0968d47633 https://code.google.com/p/go/ #

Patch Set 5 : diff -r 2b0968d47633 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M src/cmd/5g/prog.c View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/6g/prog.c View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/8g/prog.c View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13
DMorsing
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 5 months ago (2014-02-03 21:14:40 UTC) #1
bradfitz
Any test possible? Something like khr's broken demos? On Feb 3, 2014 4:14 PM, <daniel.morsing@gmail.com> ...
11 years, 5 months ago (2014-02-03 21:21:08 UTC) #2
DMorsing
On Mon, Feb 3, 2014 at 9:21 PM, Brad Fitzpatrick <bradfitz@golang.org> wrote: > Any test ...
11 years, 5 months ago (2014-02-04 21:09:33 UTC) #3
iant
LGTM
11 years, 5 months ago (2014-02-04 21:15:46 UTC) #4
bradfitz
Right. I had misremembered khr's example. On Feb 4, 2014 1:09 PM, "Daniel Morsing" <daniel.morsing@gmail.com> ...
11 years, 5 months ago (2014-02-04 21:25:50 UTC) #5
dave_cheney.net
This breaks arm :( cmd/go panic: runtime error: index out of range goroutine 16 [running]: ...
11 years, 5 months ago (2014-02-05 03:09:13 UTC) #6
DMorsing
Well that's a bummer. Can you send me the output of "go build -gcflags '-R ...
11 years, 5 months ago (2014-02-05 08:46:00 UTC) #7
DMorsing
Took a look at the arm assembly, this is the diff on 5g -S before ...
11 years, 4 months ago (2014-02-09 17:31:01 UTC) #8
dave_cheney.net
Oh poo. https://code.google.com/p/go/issues/detail?id=7294 On Mon, Feb 10, 2014 at 4:31 AM, <daniel.morsing@gmail.com> wrote: > Took ...
11 years, 4 months ago (2014-02-10 01:25:21 UTC) #9
rsc
LGTM If it breaks arm, that means arm is broken already and the tests just ...
11 years, 4 months ago (2014-02-10 14:42:57 UTC) #10
DMorsing
On Mon, Feb 10, 2014 at 2:42 PM, <rsc@golang.org> wrote: > LGTM > > If ...
11 years, 4 months ago (2014-02-11 20:20:35 UTC) #11
DMorsing
*** Submitted as https://code.google.com/p/go/source/detail?r=bcc8475a7ada *** cmd/6g, cmd/8g, cmd/5g: make the undefined instruction have no successors ...
11 years, 4 months ago (2014-02-11 20:25:46 UTC) #12
gobot
11 years, 4 months ago (2014-02-11 20:29:24 UTC) #13
Message was sent while issue was closed.
This CL appears to have broken the darwin-amd64 builder.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b