• Keith Randall's avatar
    cmd/compile: combine stores into larger widths · 217c2849
    Keith Randall authored
    Combine stores into larger widths when it is safe to do so.
    
    Add clobber() function so stray dead uses do not impede the
    above rewrites.
    
    Fix bug in loads where all intermediate values depending on
    a small load (not just the load itself) must have no other uses.
    We really need the small load to be dead after the rewrite..
    
    Fixes #14267
    
    Change-Id: Ib25666cb19777f65082c76238fba51a76beb5d74
    Reviewed-on: https://go-review.googlesource.com/22326
    Run-TryBot: Keith Randall <khr@golang.org>
    Reviewed-by: 's avatarTodd Neal <todd@tneal.org>
    217c2849
rewrite.go 8.24 KB