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 d3ff099 commit b1c6dabCopy full SHA for b1c6dab
llvm/lib/Target/DirectX/DXILFlattenArrays.cpp
@@ -229,7 +229,7 @@ void DXILFlattenArraysVisitor::collectIndicesAndDimsFromGEP(
229
GetElementPtrInst &GEP, SmallVectorImpl<Value *> &Indices,
230
SmallVectorImpl<uint64_t> &Dims, bool &AllIndicesAreConstInt) {
231
232
- // Skip the first index (which is ptr index ie always start at 0 for arrays)
+ // Skip the first index which is array ptr
233
// and collect all subsequent indices
234
Type *CurrentType = GEP.getSourceElementType();
235
for (unsigned I = 1; I < GEP.getNumIndices(); ++I) {
0 commit comments