]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile: don't move mem-using values in tighten pass
authorKeith Randall <khr@golang.org>
Tue, 20 Oct 2015 01:44:50 +0000 (18:44 -0700)
committerKeith Randall <khr@golang.org>
Tue, 20 Oct 2015 02:09:52 +0000 (02:09 +0000)
commit65df9c4c2b6750f207b71e65a01b2b16de7d3b61
tree579a1d9f69b3d81a9fdf17be0febdc525355f145
parent2dc88eead8d28c6d84f60e30746d90a76f920be6
[dev.ssa] cmd/compile: don't move mem-using values in tighten pass

It isn't safe, the place where we're moving the value to
might have a different live memory.  Moving will introduce
two simultaneously live memories.

Change-Id: I07e61a6db8ef285088c530dc2e5d5768d27871ff
Reviewed-on: https://go-review.googlesource.com/16099
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
src/cmd/compile/internal/ssa/tighten.go