diff --git a/llvm/lib/Transforms/Vectorize/VPlanUtils.cpp b/llvm/lib/Transforms/Vectorize/VPlanUtils.cpp index 939216fe162a4..839a304904e8b 100644 --- a/llvm/lib/Transforms/Vectorize/VPlanUtils.cpp +++ b/llvm/lib/Transforms/Vectorize/VPlanUtils.cpp @@ -197,7 +197,8 @@ bool vputils::isSingleScalar(const VPValue *VPV) { all_of(VPI->operands(), isSingleScalar)); if (isa(VPV)) return false; - if (isa(VPV)) + if (isa( + VPV)) return true; if (auto *Expr = dyn_cast(VPV)) return Expr->isSingleScalar();