[llvm] [AMDGPU] Provide default value in get intrinsic param type (PR #122448)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 10 04:52:45 PST 2025


================
@@ -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


More information about the llvm-commits mailing list