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 733ae8e commit 9250cadCopy full SHA for 9250cad
llvm/lib/Target/DirectX/DXILFlattenArrays.cpp
@@ -266,7 +266,7 @@ bool DXILFlattenArraysVisitor::visitGetElementPtrInst(GetElementPtrInst &GEP) {
266
267
// If the parent GEP was not processed, then we do not want to process its
268
// descendants. This can happen if the GEP chain is for an unsupported type
269
- // such as structs -- we do not flatten structs.
+ // such as a struct -- we do not flatten structs nor GEP chains for structs
270
if (!GEPChainInfoMap.contains(PtrOpGEP))
271
return false;
272
0 commit comments