Skip to content

Commit

Permalink
Remove unhittable case
Browse files Browse the repository at this point in the history
 Remove unhittable case
  • Loading branch information
krzysiek358 authored and igcbot committed Dec 6, 2024
1 parent 511a8d1 commit d95903d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions IGC/AdaptorCommon/TypesLegalizationPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,6 @@ TypesLegalizationPass::ResolveValue( Instruction *ip,Value *val,SmallVector<unsi
}
return ResolveValue( civ,civ->getAggregateOperand(),indices );
}
else if(InsertElementInst* ie =
dyn_cast<InsertElementInst>(val))
{
IRBuilder<> builder( ie );
IGC_ASSERT(indices.size() == 1);
return builder.CreateExtractElement( ie,builder.getInt32( indices[0] ) );
}
else if(LoadInst* ld = dyn_cast<LoadInst>(val))
{
IGCLLVM::IRBuilder<> builder( ld );
Expand Down

0 comments on commit d95903d

Please sign in to comment.