Skip to content

Commit f37e410

Browse files
committed
update comments
1 parent 9c23ce9 commit f37e410

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)