Skip to content

Commit c11205b

Browse files
committed
touch up
1 parent 993b51a commit c11205b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/DirectX/DXILDataScalarization.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,14 +353,14 @@ bool DataScalarizerVisitor::visitGetElementPtrInst(GetElementPtrInst &GEPI) {
353353

354354
ArrayType *ArrType = dyn_cast<ArrayType>(SubType);
355355
if (!ArrType) {
356-
assert(SubType == GEPArrType && "GEP uses a strange sub-type of alloca/global variable");
356+
assert(SubType == GEPArrType &&
357+
"GEP uses an DXIL invalid sub-type of alloca/global variable");
357358
break;
358359
}
359360

360361
SubType = ArrType->getElementType();
361362
}
362363

363-
364364
bool NeedsTransform = OrigOperand != PtrOperand ||
365365
OrigGEPType != NewGEPType || MissingDims != 0;
366366

0 commit comments

Comments
 (0)