]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add handling for new floating-point comparisons flags
authorfanzha02 <fannie.zhang@arm.com>
Mon, 11 Mar 2019 03:51:06 +0000 (03:51 +0000)
committerCherry Zhang <cherryyz@google.com>
Tue, 12 Mar 2019 14:01:26 +0000 (14:01 +0000)
commita85afef27726b5870e02e50f8e210e0f16f89981
tree21a91416779e3dc3354a9d63f8aa44ad64725343
parentef891e1c8336243023abb1638a3225405d0e5d44
cmd/compile: add handling for new floating-point comparisons flags

The CL 164718 adds new condition flags for floating-point comparisons
in arm64 backend, but dose not add the handling in rewrite.go for
corresponding Ops, which causes issue 30679. And this CL fixes this
issue.

Fixes #30679

Change-Id: I8acc749f78227c3e9e74fa7938f05fb442fb62c6
Reviewed-on: https://go-review.googlesource.com/c/go/+/166579
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ssa/rewrite.go
test/fixedbugs/issue30679.go [new file with mode: 0644]