================ @@ -2043,9 +2043,13 @@ static bool callInstIsMemcpy(CallInst *CI) { } static bool destArrayCanBeWidened(CallInst *CI) { + auto *GV = dyn_cast<GlobalVariable>(CI->getArgOperand(0)); ---------------- nasherm wrote: Done https://github.com/llvm/llvm-project/pull/107120