Skip to content

Commit 50ac604

Browse files
committed
remove comment to address pr comment
1 parent d2aab98 commit 50ac604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/DirectX/DXILDataScalarization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ bool DataScalarizerVisitor::visitGetElementPtrInst(GetElementPtrInst &GEPI) {
346346
if (auto *CE = dyn_cast<ConstantExpr>(GOp))
347347
CE->destroyConstant();
348348
else if (auto *OldGEPI = dyn_cast<GetElementPtrInst>(GOp))
349-
OldGEPI->eraseFromParent(); // This will always be true in visit* context
349+
OldGEPI->eraseFromParent();
350350

351351
return true;
352352
}

0 commit comments

Comments
 (0)