Skip to content

Commit 3720504

Browse files
committed
Remove leftover TODOs in SROA
1 parent ec41344 commit 3720504

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/Transforms/Scalar/ScalarReplAggregatesHLSL.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2873,7 +2873,6 @@ void SROA_Helper::RewriteCall(CallInst *CI) {
28732873
case IntrinsicOp::IOP_TraceRay:
28742874
if (OldVal ==
28752875
CI->getArgOperand(HLOperandIndex::kTraceRayRayDescOpIdx)) {
2876-
// TODO: flatten RayDesc
28772876
RewriteWithFlattenedHLIntrinsicCall(CI, OldVal, NewElts,
28782877
/*loadElts*/ true);
28792878
DeadInsts.push_back(CI);
@@ -2883,7 +2882,6 @@ void SROA_Helper::RewriteCall(CallInst *CI) {
28832882
case IntrinsicOp::MOP_DxHitObject_TraceRay:
28842883
if (OldVal == CI->getArgOperand(
28852884
HLOperandIndex::kHitObjectTraceRay_RayDescOpIdx)) {
2886-
// TODO: flatten RayDesc
28872885
RewriteWithFlattenedHLIntrinsicCall(CI, OldVal, NewElts,
28882886
/*loadElts*/ true);
28892887
DeadInsts.push_back(CI);

0 commit comments

Comments
 (0)