File tree Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Expand file tree Collapse file tree 2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,6 @@ void CheckInstrTypes::print(llvm::raw_ostream& OS) const
171171 OS << " \n hasDynamicGenericLoadStore: " << g_InstrTypes.hasDynamicGenericLoadStore ;
172172 OS << " \n hasUnmaskedRegion: " << g_InstrTypes.hasUnmaskedRegion ;
173173 OS << " \n hasSLM: " << g_InstrTypes.hasSLM ;
174- OS << " \n hasPrivateGEPIntoVector: " << g_InstrTypes.hasPrivateGEPIntoVector ;
175174 OS << " \n numCall: " << g_InstrTypes.numCall ;
176175 OS << " \n numBarrier: " << g_InstrTypes.numBarrier ;
177176 OS << " \n numLoadStore: " << g_InstrTypes.numLoadStore ;
@@ -755,20 +754,6 @@ void CheckInstrTypes::visitGetElementPtrInst(llvm::GetElementPtrInst& I)
755754 {
756755 g_InstrTypes.hasGenericAddressSpacePointers = true ;
757756 }
758- else if (I.getPointerAddressSpace () == ADDRESS_SPACE::ADDRESS_SPACE_PRIVATE &&
759- g_InstrTypes.hasPrivateGEPIntoVector == false &&
760- I.getNumIndices () > 1 )
761- {
762- llvm::SmallVector<llvm::Value*, 4 > indices (I.indices ());
763- indices.pop_back ();
764- llvm::Type* lastIndexedType = llvm::GetElementPtrInst::getIndexedType (
765- I.getSourceElementType (),
766- indices);
767- if (lastIndexedType->isVectorTy ())
768- {
769- g_InstrTypes.hasPrivateGEPIntoVector = true ;
770- }
771- }
772757}
773758
774759#undef PASS_FLAG
Original file line number Diff line number Diff line change @@ -348,7 +348,6 @@ namespace IGC
348348 bool hasDynamicGenericLoadStore{};
349349 bool hasUnmaskedRegion{};
350350 bool hasSLM{};
351- bool hasPrivateGEPIntoVector{};
352351 unsigned int numCall{};
353352 unsigned int numBarrier{};
354353 unsigned int numLoadStore{};
You can’t perform that action at this time.
0 commit comments