Skip to content

Commit 7cf7c74

Browse files
author
Jakub Chlanda
committed
You shall not pass here, null T.
1 parent 876066e commit 7cf7c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/AMDGPULibFunc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ static Type *getIntrinsicParamType(LLVMContext &C,
983983
case AMDGPULibFunc::DUMMY:
984984
return nullptr;
985985
}
986-
if (T && P.VectorSize > 1)
986+
if (P.VectorSize > 1)
987987
T = FixedVectorType::get(T, P.VectorSize);
988988
if (P.PtrKind != AMDGPULibFunc::BYVALUE)
989989
T = PointerType::get(

0 commit comments

Comments
 (0)