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:
Gu, Junjie
2022-12-15 03:35:23 +00:00
committed by igcbot
parent bf3b39f87e
commit bd94b54982
11 changed files with 23 additions and 29 deletions

View File

@ -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>();
}