File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,14 +70,14 @@ static bool isIntrinsicExpansion(Function &F) {
7070 case Intrinsic::vector_reduce_add:
7171 case Intrinsic::vector_reduce_fadd:
7272 return true ;
73- case Intrinsic::dx_resource_load_typedbuffer: // want to transform double and
74- // double2
73+ case Intrinsic::dx_resource_load_typedbuffer:
74+ // We need to handle doubles and vector of doubles.
7575 return F.getReturnType ()
7676 ->getStructElementType (0 )
7777 ->getScalarType ()
7878 ->isDoubleTy ();
79- case Intrinsic::dx_resource_store_typedbuffer: // want to transform double and
80- // double2
79+ case Intrinsic::dx_resource_store_typedbuffer:
80+ // We need to handle doubles and vector of doubles.
8181 return F.getFunctionType ()->getParamType (2 )->getScalarType ()->isDoubleTy ();
8282 }
8383 return false ;
You can’t perform that action at this time.
0 commit comments