Skip to content

Commit

Permalink
blah
Browse files Browse the repository at this point in the history
  • Loading branch information
ragusaa committed May 3, 2024
1 parent 28875af commit cb56501
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libclambcc/ClamBCLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ void ClamBCLowering::lowerIntrinsics(IntrinsicLowering *IL, Function &F)
GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(PI->getOperand(0));
if (GEP && GEP->getNumOperands() == 2) {
Value *V1 = GEP->getOperand(1);
// if (GEP->getType()->getElementType() == Type::getInt8Ty(F.getContext())) {
if (GEP->getSourceElementType() == Type::getInt8Ty(F.getContext())) {
Value *P0 = Builder.CreatePtrToInt(GEP->getOperand(0),
V1->getType());
Expand Down

0 comments on commit cb56501

Please sign in to comment.