compiler.cfg.scheduling: ##dispatch must go at the end since its a control flow transfer
							parent
							
								
									0fd636b4b9
								
							
						
					
					
						commit
						60ddbd9d9b
					
				| 
						 | 
				
			
			@ -38,3 +38,18 @@ t check-scheduling? [
 | 
			
		|||
    split-3-ways
 | 
			
		||||
    [ >array ] tri@
 | 
			
		||||
] unit-test
 | 
			
		||||
 | 
			
		||||
[
 | 
			
		||||
    { }
 | 
			
		||||
    { T{ ##add } T{ ##sub } T{ ##mul } }
 | 
			
		||||
    { T{ ##dispatch } }
 | 
			
		||||
] [
 | 
			
		||||
    V{
 | 
			
		||||
        T{ ##add }
 | 
			
		||||
        T{ ##sub }
 | 
			
		||||
        T{ ##mul }
 | 
			
		||||
        T{ ##dispatch }
 | 
			
		||||
    }
 | 
			
		||||
    split-3-ways
 | 
			
		||||
    [ >array ] tri@
 | 
			
		||||
] unit-test
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,6 +56,7 @@ UNION: initial-insn ##phi ##inc-d ##inc-r ##callback-inputs ;
 | 
			
		|||
 | 
			
		||||
UNION: final-insn
 | 
			
		||||
##branch
 | 
			
		||||
##dispatch
 | 
			
		||||
conditional-branch-insn
 | 
			
		||||
##epilogue ##return
 | 
			
		||||
##callback-outputs ;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue