Skip to content

Commit

Permalink
[SPIR-V] Fix -Wunused-variable warning. NFC
Browse files Browse the repository at this point in the history
  • Loading branch information
bogner committed Dec 8, 2023
1 parent 6d8b44a commit 2cd43e9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,6 @@ bool SPIRVEmitIntrinsics::runOnFunction(Function &Func) {
if (!SI)
continue;
Type *ElTy = SI->getValueOperand()->getType();
PointerType *PTy = cast<PointerType>(SI->getOperand(1)->getType());
if (ElTy->isAggregateType() || ElTy->isVectorTy())
AggrStores.insert(&I);
}
Expand Down

0 comments on commit 2cd43e9

Please sign in to comment.