Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fuseLate (0.11 sec)

  1. src/cmd/compile/internal/ssa/fuse_test.go

    			Valu("bool1", OpNeqPtr, c.config.Types.Bool, 0, nil, "ptr1", "nilptr"),
    			If("bool1", "then", "exit")),
    		Bloc("then",
    			Goto("exit")),
    		Bloc("exit",
    			Exit("mem")))
    
    	CheckFunc(fun.f)
    	fuseLate(fun.f)
    
    	for _, b := range fun.f.Blocks {
    		if b == fun.blocks["then"] && b.Kind != BlockInvalid {
    			t.Errorf("then was not eliminated, but should have")
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/fuse.go

    import (
    	"cmd/internal/src"
    	"fmt"
    )
    
    // fuseEarly runs fuse(f, fuseTypePlain|fuseTypeIntInRange).
    func fuseEarly(f *Func) { fuse(f, fuseTypePlain|fuseTypeIntInRange) }
    
    // fuseLate runs fuse(f, fuseTypePlain|fuseTypeIf|fuseTypeBranchRedirect).
    func fuseLate(f *Func) { fuse(f, fuseTypePlain|fuseTypeIf|fuseTypeBranchRedirect) }
    
    type fuseType uint8
    
    const (
    	fuseTypePlain fuseType = 1 << iota
    	fuseTypeIf
    	fuseTypeIntInRange
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top