]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/ssa: fix PPC64 shift codegen regression
authorPaul E. Murphy <murp@ibm.com>
Thu, 24 Oct 2024 14:08:47 +0000 (09:08 -0500)
committerPaul Murphy <murp@ibm.com>
Thu, 24 Oct 2024 17:32:18 +0000 (17:32 +0000)
commit1846dd5a318f1abd293c9cd54c868b7e288f1d26
treec571e1751a52e858bb754f533f1cfbad2bedf55e
parent2a98a1849f059ffa94ab23a1ab7d8fa0fd0b48dd
cmd/compile/internal/ssa: fix PPC64 shift codegen regression

CL 621357 introduced new generic lowering rules which caused
several shift related codegen test failures.

Add new rules to fix the test regressions, and cleanup tests
which are changed but not regressed. Some CLRLSLDI tests are
removed as they are no test CLRLSLDI rules.

Fixes #70003

Change-Id: I1ecc5a7e63ab709a4a0cebf11fa078d5cf164034
Reviewed-on: https://go-review.googlesource.com/c/go/+/622236
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/ssa/_gen/PPC64.rules
src/cmd/compile/internal/ssa/rewrite.go
src/cmd/compile/internal/ssa/rewritePPC64.go
test/codegen/shift.go