Skip to content

Commit abacc52

Browse files
committed
Fix unused variable warning. NFC.
1 parent 98e733e commit abacc52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2678,7 +2678,7 @@ Instruction *InstCombinerImpl::visitBitCast(BitCastInst &CI) {
26782678
if (DestTy == Src->getType())
26792679
return replaceInstUsesWith(CI, Src);
26802680

2681-
if (FixedVectorType *DestVTy = dyn_cast<FixedVectorType>(DestTy)) {
2681+
if (isa<FixedVectorType>(DestTy)) {
26822682
if (isa<IntegerType>(SrcTy)) {
26832683
// If this is a cast from an integer to vector, check to see if the input
26842684
// is a trunc or zext of a bitcast from vector. If so, we can replace all

0 commit comments

Comments
 (0)