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 bf8a22d commit 3e8e15fCopy full SHA for 3e8e15f
llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
@@ -394,9 +394,9 @@ static Value *calculateVectorIndex(
394
auto I = GEPIdx.find(GEP);
395
assert(I != GEPIdx.end() && "Must have entry for GEP!");
396
397
- Value *IndexValue = I->second;
398
- assert(IndexValue && "index value missing from GEP index map");
399
- return IndexValue;
+ Value *IndexValue = I->second;
+ assert(IndexValue && "index value missing from GEP index map");
+ return IndexValue;
400
}
401
402
static Value *GEPToVectorIndex(GetElementPtrInst *GEP, AllocaInst *Alloca,
0 commit comments