File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -1168,12 +1168,7 @@ void VariableReuseAnalysis::InsertElementAliasing(Function* F)
11681168 // =0x2: subvec aliasing for both isolated and non-isolated value)
11691169 const auto control = (m_pCtx->getVectorCoalescingControl () & 0x3 );
11701170 // To avoid increasing GRF pressure, skip if F is too large or not an entry
1171- // We remove the threshold when the code comes from CUTLASS,
1172- // which often generates a large number of basic blocks.
1173- const int32_t NumBBThreshold =
1174- F->getName ().str ().substr (0 , 2 ) == " _Z" && F->getName ().str ().find (" cutlass" ) != std::string::npos
1175- ? std::numeric_limits<int32_t >::max ()
1176- : static_cast <int32_t >(IGC_GET_FLAG_VALUE (VectorAliasBBThreshold));
1171+ const int32_t NumBBThreshold = IGC_GET_FLAG_VALUE (VectorAliasBBThreshold);
11771172 MetaDataUtils* pMdUtils = getAnalysis<MetaDataUtilsWrapper>().getMetaDataUtils ();
11781173 if (control == 0 || !isEntryFunc (pMdUtils, F) || getNumBBs (F) > NumBBThreshold) {
11791174 return ;
You can’t perform that action at this time.
0 commit comments