| 1 |
// Code generated from _gen/MIPS64latelower.rules using 'go generate'; DO NOT EDIT. |
| 2 |
|
| 3 |
package ssa |
| 4 |
|
| 5 |
func rewriteValueMIPS64latelower(v *Value) bool { |
| 6 |
switch v.Op { |
| 7 |
case OpMIPS64MOVVconst: |
| 8 |
return rewriteValueMIPS64latelower_OpMIPS64MOVVconst(v) |
| 9 |
} |
| 10 |
return false |
| 11 |
} |
| 12 |
func rewriteValueMIPS64latelower_OpMIPS64MOVVconst(v *Value) bool { |
| 13 |
// match: (MOVVconst [0]) |
| 14 |
// result: (ZERO) |
| 15 |
for { |
| 16 |
if auxIntToInt64(v.AuxInt) != 0 { |
| 17 |
break |
| 18 |
} |
| 19 |
v.reset(OpMIPS64ZERO) |
| 20 |
return true |
| 21 |
} |
| 22 |
return false |
| 23 |
} |
| 24 |
func rewriteBlockMIPS64latelower(b *Block) bool { |
| 25 |
return false |
| 26 |
} |