mirror of
				https://github.com/intel/intel-graphics-compiler.git
				synced 2025-11-04 08:21:06 +08:00 
			
		
		
		
	Turn off DeSSA if EnableDeSSA is 0
Previously, DeSSA always run, even though EnableDeSSA is 0. This change turns off DeSSA if EnableDeSSA is 0.
This commit is contained in:
		@ -308,6 +308,12 @@ void DeSSA::dump() const {
 | 
			
		||||
 | 
			
		||||
bool DeSSA::runOnFunction(Function& MF)
 | 
			
		||||
{
 | 
			
		||||
    if (IGC_IS_FLAG_DISABLED(EnableDeSSA))
 | 
			
		||||
    {
 | 
			
		||||
        // getRootValue(), isIsolated(), etc still works.
 | 
			
		||||
        return false;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    m_F = &MF;
 | 
			
		||||
    CurrColor = 0;
 | 
			
		||||
    MetaDataUtils* pMdUtils = nullptr;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user