================
@@ -968,11 +983,11 @@ static Type* getIntrinsicParamType(
case AMDGPULibFunc::DUMMY:
return nullptr;
}
- if (P.VectorSize > 1)
+ if (T && P.VectorSize > 1)
----------------
arsenm wrote:
null T can't reach here
https://github.com/llvm/llvm-project/pull/122448