go/src/cmd/compile/internal/ssa/branchelim_test.go

// Test that a trivial 'if' is eliminated
func TestBranchElimIf(t *testing.T) {}

// Test that a trivial if/else is eliminated
func TestBranchElimIfElse(t *testing.T) {}

// Test that an if/else CFG that loops back
// into itself does *not* get eliminated.
func TestNoBranchElimLoop(t *testing.T) {}