We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98e733e commit abacc52Copy full SHA for abacc52
llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
@@ -2678,7 +2678,7 @@ Instruction *InstCombinerImpl::visitBitCast(BitCastInst &CI) {
2678
if (DestTy == Src->getType())
2679
return replaceInstUsesWith(CI, Src);
2680
2681
- if (FixedVectorType *DestVTy = dyn_cast<FixedVectorType>(DestTy)) {
+ if (isa<FixedVectorType>(DestTy)) {
2682
if (isa<IntegerType>(SrcTy)) {
2683
// If this is a cast from an integer to vector, check to see if the input
2684
// is a trunc or zext of a bitcast from vector. If so, we can replace all
0 commit comments