================ @@ -10226,7 +10229,7 @@ Value *CodeGenFunction::EmitSVETupleCreate(const SVETypeFlags &TypeFlags, ArrayRef<Value *> Ops) { assert(TypeFlags.isTupleCreate() && "Expects TypleFlag isTupleCreate"); - auto *SrcTy = dyn_cast<llvm::ScalableVectorType>(Ops[0]->getType()); + auto *SrcTy = cast<llvm::ScalableVectorType>(Ops[0]->getType()); ---------------- smanna12 wrote:
Thanks @CarolineConcatto for reviews. I have updated patch to be consistent with SVETuple functions. https://github.com/llvm/llvm-project/pull/94267 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits