mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-10 19:36:40 +00:00
Do not compute dominance information when not in SSA (#1176)
This commit is contained in:
parent
a0c06103c9
commit
71dbb38b9a
1 changed files with 5 additions and 2 deletions
|
@ -22,8 +22,11 @@ namespace ARMeilleure.Translation
|
||||||
{
|
{
|
||||||
Logger.StartPass(PassName.Dominance);
|
Logger.StartPass(PassName.Dominance);
|
||||||
|
|
||||||
Dominance.FindDominators(cfg);
|
if ((options & CompilerOptions.SsaForm) != 0)
|
||||||
Dominance.FindDominanceFrontiers(cfg);
|
{
|
||||||
|
Dominance.FindDominators(cfg);
|
||||||
|
Dominance.FindDominanceFrontiers(cfg);
|
||||||
|
}
|
||||||
|
|
||||||
Logger.EndPass(PassName.Dominance);
|
Logger.EndPass(PassName.Dominance);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue