• David Chase's avatar
    cmd/compile: finish GOEXPERIMENT=preemptibleloops repair · f7404974
    David Chase authored
    A newish check for branch-likely on single-successor blocks
    caught a case where the preemption-check inserter was
    setting "likely" on an unconditional branch.
    
    Fixed by checking for that case before setting likely.
    
    Also removed an overconservative restriction on parallel
    compilation for GOEXPERIMENT=preemptibleloops; it works
    fine, it is just another control-flow transformation.
    
    Change-Id: I8e786e6281e0631cac8d80cff67bfb6402b4d225
    Reviewed-on: https://go-review.googlesource.com/102317
    Run-TryBot: David Chase <drchase@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarAustin Clements <austin@google.com>
    f7404974
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
buildid Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
test2json Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...