diff --git a/llvm/lib/Analysis/InstructionSimplify.cpp b/llvm/lib/Analysis/InstructionSimplify.cpp --- a/llvm/lib/Analysis/InstructionSimplify.cpp +++ b/llvm/lib/Analysis/InstructionSimplify.cpp @@ -942,10 +942,10 @@ if (match(Op1, m_Zero())) return UndefValue::get(Ty); - // If any element of a constant divisor vector is zero or undef, the whole op - // is undef. + // If any element of a constant divisor fixed width vector is zero or undef, + // the whole op is undef. auto *Op1C = dyn_cast(Op1); - auto *VTy = dyn_cast(Ty); + auto *VTy = dyn_cast(Ty); if (Op1C && VTy) { unsigned NumElts = VTy->getNumElements(); for (unsigned i = 0; i != NumElts; ++i) {