mirror of
				https://github.com/intel/intel-graphics-compiler.git
				synced 2025-11-04 08:21:06 +08:00 
			
		
		
		
	Simplify key EnableDeSSAAlias
EnableDeSSAAlias is of int originally during development of coalescing
alias (bitcast, etc) to have a finer control. It is stable now and no
longer need to be of int.
This submit has the following changes:
   1. Changes EnableDeSSAAlias to bool;
   2. Change DisableDeSSA to EnableDeSSA
   3. Guard the use of EnableDeSSAAlias with EnableDeSSA as EnableDeSSAAlias
      is used only if DeSSA is on.
No function change expected from this submit.
			
			
This commit is contained in:
		@ -70,7 +70,7 @@ bool VariableReuseAnalysis::runOnFunction(Function& F)
 | 
			
		||||
    m_F = &F;
 | 
			
		||||
 | 
			
		||||
    m_WIA = &(getAnalysis<WIAnalysis>());
 | 
			
		||||
    if (IGC_IS_FLAG_DISABLED(DisableDeSSA))
 | 
			
		||||
    if (IGC_IS_FLAG_ENABLED(EnableDeSSA))
 | 
			
		||||
    {
 | 
			
		||||
        m_DeSSA = &getAnalysis<DeSSA>();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user