• Keith Randall's avatar
    cmd/compile: simplify load+op rules · 0fe58bf6
    Keith Randall authored
    There's no need to use @block rules, as canMergeLoad makes sure that
    the load and op are already in the same block.
    With no @block needed, we also don't need to set the type explicitly.
    It can just be inherited from the op being rewritten.
    
    Noticed while working on #19284.
    
    Change-Id: Ied8bcc8058260118ff7e166093112e29107bcb7e
    Reviewed-on: https://go-review.googlesource.com/37585
    Run-TryBot: Keith Randall <khr@golang.org>
    Reviewed-by: 's avatarIlya Tocar <ilya.tocar@intel.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    0fe58bf6
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...