// 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) { … }