]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: ignore RegKill ops for non-phi after phi check
authorThan McIntosh <thanm@google.com>
Tue, 14 Nov 2017 18:56:18 +0000 (13:56 -0500)
committerThan McIntosh <thanm@google.com>
Tue, 21 Nov 2017 18:14:52 +0000 (18:14 +0000)
commit63ef3cde335e5b46fc3c8027b5e2f474a26717e8
treee80f4a9edaa7fa19d06838cc4f03cc4dc633576d
parent4fbf54fa0a4532753d2aac880e6d91202899a54e
cmd/compile: ignore RegKill ops for non-phi after phi check

Relax the 'phi after non-phi' SSA sanity check to allow
RegKill ops interspersed with phi ops in a block. This fixes
a sanity check failure when -dwarflocationlists is enabled.

Updates #22694.

Change-Id: Iaae604ab6f1a8b150664dd120003727a6fb2f698
Reviewed-on: https://go-review.googlesource.com/77610
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/compile/internal/ssa/check.go