aboutsummaryrefslogtreecommitdiff
path: root/test/codegen
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2023-05-30 10:19:50 -0700
committerKeith Randall <khr@golang.org>2023-07-26 17:18:31 +0000
commitc94f39a80e30f38c8a6e72f58c4cb63c1c106eb0 (patch)
tree35223c1dd43d0e7db32563b2b285884246def53f /test/codegen
parentd0964e172b83db45d167b21e93b79fe86b158760 (diff)
downloadgo-c94f39a80e30f38c8a6e72f58c4cb63c1c106eb0.tar.xz
cmd/compile: simplify uninterruptable range check for write barriers
Make the load detection a bit clearer and more precise. In particular, for architectures which have to materialize the address using a separate instruction, we were using the address materialization instruction, not the load itself. Also apply the marking a bit less. We don't need to mark the load itself, only the instructions after the load. And we don't need to mark the WBend itself, only the instructions before it. Change-Id: Ie367a8023b003d5317b752d873bb385f931bb30e Reviewed-on: https://go-review.googlesource.com/c/go/+/499395 Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'test/codegen')
0 files changed, 0 insertions, 0 deletions