• Keith Randall's avatar
    cmd/compile: fix store chain in schedule pass · 978af9c2
    Keith Randall authored
    Tuple ops are weird. They are essentially a pair of ops,
    one which consumes a mem and one which generates a mem (the Select1).
    The schedule pass didn't handle these quite right.
    
    Fix the scheduler to include both parts of the paired op in
    the store chain. That makes sure that loads are correctly ordered
    with respect to the first of the pair.
    
    Add a check for the ssacheck builder, that there is only one
    live store at a time. I thought we already had such a check, but
    apparently not...
    
    Fixes #20335
    
    Change-Id: I59eb3446a329100af38d22820b1ca2190ca46a78
    Reviewed-on: https://go-review.googlesource.com/43294
    Run-TryBot: Keith Randall <khr@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarCherry Zhang <cherryyz@google.com>
    978af9c2
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...