Skip to content

Commit 67adeac

Browse files
krystian-andrzejewskiigcbot
authored andcommitted
Replacing usages of getNonOpaquePtrEltTy in AdaptorCommon - part 2
This change set is to prepare for removing dependencies on references to non-opaque pointers.
1 parent 375018b commit 67adeac

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

IGC/AdaptorCommon/TypesLegalizationPass.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,6 @@ Value* TypesLegalizationPass::CreateGEP(IGCLLVM::IRBuilder<>& builder, Type* Ty,
115115
return builder.CreateGEP(Ty, ptr, gepIndices);
116116
}
117117

118-
// Depricated because it uses typed pointers and
119-
// should no longer be used in LLVM 14+ compatible code.
120-
Value* TypesLegalizationPass::CreateGEP( IGCLLVM::IRBuilder<> &builder,Value *ptr,SmallVector<unsigned,8> &indices ) {
121-
return CreateGEP(builder, IGCLLVM::getNonOpaquePtrEltTy(ptr->getType()), ptr, indices);
122-
}
123-
124118
///////////////////////////////////////////////////////////////////////
125119
/// @brief Resolves a PHI node to alloca store and load.
126120
/// @param phi instruction to resolve

0 commit comments

Comments
 (0)