File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -3045,6 +3045,7 @@ bool EarlyOutPatterns::runOnFunction(Function& F)
3045
3045
{
3046
3046
m_ctx = getAnalysis<CodeGenContextWrapper>().getCodeGenContext ();
3047
3047
if (IGC_IS_FLAG_ENABLED (DisableEarlyOutPatterns) ||
3048
+ m_ctx->getModuleMetaData ()->compOpt .DisableEarlyOut ||
3048
3049
m_ctx->m_DriverInfo .WaNOSNotResolved ())
3049
3050
{
3050
3051
return false ;
Original file line number Diff line number Diff line change @@ -411,6 +411,7 @@ namespace IGC
411
411
bool disableMathRefactoring = false ;
412
412
bool atomicBranch = false ;
413
413
bool spillCompression = false ;
414
+ bool DisableEarlyOut = false ;
414
415
bool ForceInt32DivRemEmu = false ;
415
416
bool ForceInt32DivRemEmuSP = false ;
416
417
bool DisableFastestSingleCSSIMD = false ;
@@ -493,6 +494,8 @@ namespace IGC
493
494
bool atomicBranch = false ;
494
495
// enable spill compression
495
496
bool spillCompression = false ;
497
+ // disable early out
498
+ bool disableEarlyOut = false ;
496
499
// enable compute walk order optimization
497
500
bool walkOrderEnabled = false ;
498
501
unsigned int walkOrderOverride = 0 ;
You can’t perform that action at this time.
0 commit comments