From: Keith Randall Date: Thu, 21 Apr 2016 04:46:39 +0000 (-0700) Subject: cmd/compile: fix ssa/check/on build X-Git-Tag: go1.7beta1~566 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e48434887e568fa96800a0dff36ab45bc844ea04;p=gostls13.git cmd/compile: fix ssa/check/on build Disable phielimValue from rewrite pass for now. Change-Id: I9f3bb1f527b50bc7a21cc6b7cb89f6136efd81e8 Reviewed-on: https://go-review.googlesource.com/22335 Run-TryBot: Keith Randall TryBot-Result: Gobot Gobot Reviewed-by: Keith Randall --- diff --git a/src/cmd/compile/internal/ssa/rewrite.go b/src/cmd/compile/internal/ssa/rewrite.go index c2f8ceadaf..9c625825b9 100644 --- a/src/cmd/compile/internal/ssa/rewrite.go +++ b/src/cmd/compile/internal/ssa/rewrite.go @@ -40,8 +40,6 @@ func applyRewrite(f *Func, rb func(*Block) bool, rv func(*Value, *Config) bool) } curb = nil for _, v := range b.Values { - change = phielimValue(v) || change - // Eliminate copy inputs. // If any copy input becomes unused, mark it // as invalid and discard its argument. Repeat