Skip to content

Commit

Permalink
Fix unused variable warning. NFC.
Browse files Browse the repository at this point in the history
  • Loading branch information
RKSimon committed Jul 25, 2024
1 parent 98e733e commit abacc52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2678,7 +2678,7 @@ Instruction *InstCombinerImpl::visitBitCast(BitCastInst &CI) {
if (DestTy == Src->getType())
return replaceInstUsesWith(CI, Src);

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

0 comments on commit abacc52

Please sign in to comment.