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) {
70
70
case Intrinsic::vector_reduce_add:
71
71
case Intrinsic::vector_reduce_fadd:
72
72
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.
75
75
return F.getReturnType ()
76
76
->getStructElementType (0 )
77
77
->getScalarType ()
78
78
->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.
81
81
return F.getFunctionType ()->getParamType (2 )->getScalarType ()->isDoubleTy ();
82
82
}
83
83
return false ;
You can’t perform that action at this time.
0 commit comments