We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 993b51a commit c11205bCopy full SHA for c11205b
llvm/lib/Target/DirectX/DXILDataScalarization.cpp
@@ -353,14 +353,14 @@ bool DataScalarizerVisitor::visitGetElementPtrInst(GetElementPtrInst &GEPI) {
353
354
ArrayType *ArrType = dyn_cast<ArrayType>(SubType);
355
if (!ArrType) {
356
- assert(SubType == GEPArrType && "GEP uses a strange sub-type of alloca/global variable");
+ assert(SubType == GEPArrType &&
357
+ "GEP uses an DXIL invalid sub-type of alloca/global variable");
358
break;
359
}
360
361
SubType = ArrType->getElementType();
362
363
-
364
bool NeedsTransform = OrigOperand != PtrOperand ||
365
OrigGEPType != NewGEPType || MissingDims != 0;
366
0 commit comments