Skip to content

Commit 67a0ed5

Browse files
jgu222igcbot
authored andcommitted
Minor refactoring
Removing redundant code.
1 parent fa26924 commit 67a0ed5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

IGC/Compiler/CISACodeGen/Platform.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,10 +1620,8 @@ bool enableMultiGRFAccessWA() const
16201620
// Return true if platform has structured control-flow instructions and IGC wants to use them.
16211621
bool hasSCF() const
16221622
{
1623-
bool doscf = true;
16241623
// DG2 and PVC still has SCF, but igc will stop using them.
1625-
doscf = !isProductChildOf(IGFX_DG2);
1626-
return doscf;
1624+
return !isProductChildOf(IGFX_DG2);
16271625
}
16281626

16291627
const SCompilerHwCaps& GetCaps() { return m_caps; }

0 commit comments

Comments
 (0)