mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.ssa] cmd/compile/internal/ssa: Implement block rewriting rules
Change-Id: I47e5349e34fc18118c4d35bf433f875b958cc3e5 Reviewed-on: https://go-review.googlesource.com/10495 Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
parent
b0da62903d
commit
a9cec30fdc
19 changed files with 660 additions and 208 deletions
|
|
@ -4,9 +4,7 @@
|
|||
|
||||
package ssa
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
import "testing"
|
||||
|
||||
func TestDeadLoop(t *testing.T) {
|
||||
c := NewConfig("amd64")
|
||||
|
|
@ -76,6 +74,7 @@ func TestNeverTaken(t *testing.T) {
|
|||
Exit("mem")))
|
||||
|
||||
CheckFunc(fun.f)
|
||||
Opt(fun.f)
|
||||
Deadcode(fun.f)
|
||||
CheckFunc(fun.f)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue