Skip to content

Commit

Permalink
gofmt changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
markkurossi committed May 16, 2020
1 parent 631f1cd commit 0dd0c5a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions compiler/ssa/peephole.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,31 +119,31 @@ func matchVar(env map[string]Variable, pattern string, v Variable) bool {
}

var rules = []*Rule{
&Rule{
{
Name: "Constant-shift-test => bts",
Source: `rshift V1 C1 V2
band V2 $1 V3
neq V3 $0 V4
=>
bts V1 C1 V4`,
},
&Rule{
{
Name: "Constant-shift-test => btc",
Source: `rshift V1 C1 V2
band V2 $1 V3
eq V3 $0 V4
=>
btc V1 C1 V4`,
},
&Rule{
{
Name: "Constant-shift-test => bts",
Source: `rshift V1 C1 V2
band V2 $1 V3
eq V3 $1 V4
=>
bts V1 C1 V4`,
},
&Rule{
{
Name: "Constant-shift-test => btc",
Source: `rshift V1 C1 V2
band V2 $1 V3
Expand Down

0 comments on commit 0dd0c5a

Please sign in to comment.