Skip to content

Commit 09f2a4b

Browse files
sys-igcigcbot
authored andcommitted
[Autobackout][FunctionalRegression]Revert of change: 610badc: Enable SIMD16 drop for more platforms
Enable abort on spills to SIMD16 for more platforms.
1 parent 7c6de8c commit 09f2a4b

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

IGC/Compiler/CISACodeGen/OpenCLKernelCodeGen.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2457,9 +2457,9 @@ SIMDStatus COpenCLKernel::checkSIMDCompileCondsForMin16(SIMDMode simdMode, EmitP
24572457
uint32_t requiredSimdSize = getReqdSubGroupSize(F, pMdUtils);
24582458

24592459
// there is a requirement for specific compilation size, we can't abort on simd32
2460-
if (requiredSimdSize != 0 && !(requiredSimdSize < 32 && SIMDMode::SIMD32 == simdMode)) {
2460+
if (requiredSimdSize != 0)
24612461
EP.m_canAbortOnSpill = false;
2462-
}
2462+
24632463
bool hasSubGroupForce = hasSubGroupIntrinsicPVC(F);
24642464
uint32_t maxPressure = getMaxPressure(F, pMdUtils);
24652465

IGC/Compiler/CISACodeGen/Platform.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,7 @@ class CPlatform {
186186

187187
bool isCoreXE2() const { return (m_platformInfo.eRenderCoreFamily == IGFX_XE2_HPG_CORE); }
188188

189-
bool isCoreXE3() const {
190-
return (m_platformInfo.eRenderCoreFamily == IGFX_XE3_CORE);
191-
}
189+
bool isCoreXE3() const { return (m_platformInfo.eRenderCoreFamily == IGFX_XE3_CORE); }
192190

193191
// This function checks if core is child of another core
194192
bool isCoreChildOf(GFXCORE_FAMILY core) const { return m_platformInfo.eRenderCoreFamily >= core; }

0 commit comments

Comments
 (0)