]> Cypherpunks repositories - gostls13.git/commit
[dev.ssa] cmd/compile/internal/ssa: fix real/imag ops
authorKeith Randall <khr@golang.org>
Thu, 10 Sep 2015 18:37:09 +0000 (11:37 -0700)
committerKeith Randall <khr@golang.org>
Thu, 10 Sep 2015 19:59:49 +0000 (19:59 +0000)
commit2f518071577d177c5ec5b4c0c9e9dcd14e9cd32a
tree76f5895a59b98acb11f1dc6e42605a00114c4375
parent545c9662031330ea3f92c51986d8ef1c29684bcb
[dev.ssa] cmd/compile/internal/ssa: fix real/imag ops

They were using the result type to look up the op, not the arg type.

Change-Id: I0641cba363fa6e7a66ad0860aa340106c10c2cea
Reviewed-on: https://go-review.googlesource.com/14469
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/cmd/compile/internal/gc/ssa.go
src/cmd/compile/internal/gc/testdata/fp_ssa.go