aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/trace/pprof.go
diff options
context:
space:
mode:
authorIlya Tocar <ilya.tocar@intel.com>2018-04-23 14:11:40 -0500
committerIlya Tocar <ilya.tocar@intel.com>2018-04-24 16:20:41 +0000
commitfb017c60bc60f8df771ac2a9119ec55ea915929c (patch)
tree144f5794c308620ef7f736acbf655572fbbb1e3e /src/cmd/trace/pprof.go
parentcd037bce09ec1aecd40d9c91c23d09f5b60549f4 (diff)
downloadgo-fb017c60bc60f8df771ac2a9119ec55ea915929c.tar.xz
cmd/compile/internal/ssa: fix endless compile loop on AMD64
We currently rewrite (TESTQ (MOVQconst [c] x)) into (TESTQconst [c] x) and (TESTQconst [-1] x) into (TESTQ x x) if x is a (MOVQconst [-1]) we will be stuck in the endless rewrite loop. Don't perform the rewrite in such cases. Fixes #25006 Change-Id: I77f561ba2605fc104f1e5d5c57f32e9d67a2c000 Reviewed-on: https://go-review.googlesource.com/108879 Run-TryBot: Ilya Tocar <ilya.tocar@intel.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/cmd/trace/pprof.go')
0 files changed, 0 insertions, 0 deletions