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 f0c1f2b commit 4c8ef2eCopy full SHA for 4c8ef2e
llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
@@ -2743,7 +2743,7 @@ Instruction *InstCombinerImpl::visitBitCast(BitCastInst &CI) {
2743
if (DestTy == Src->getType())
2744
return replaceInstUsesWith(CI, Src);
2745
2746
- if (FixedVectorType *DestVTy = dyn_cast<FixedVectorType>(DestTy)) {
+ if (isa<FixedVectorType>(DestTy)) {
2747
if (isa<IntegerType>(SrcTy)) {
2748
// If this is a cast from an integer to vector, check to see if the input
2749
// is a trunc or zext of a bitcast from vector. If so, we can replace all
0 commit comments