// Copyright 2025 The Go Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style | |
// license that can be found in the LICENSE file. | |
// Prefer addition when shifting left by one. | |
(SLLVconst [1] x) => (ADDV x x) | |
(EQZ (XOR x y) yes no) => (BEQ x y yes no) | |
(NEZ (XOR x y) yes no) => (BNE x y yes no) | |
// use zero register | |
(MOVVconst [0]) => (ZERO) |