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 3b72499 commit 8e31b85Copy full SHA for 8e31b85
llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
@@ -928,7 +928,7 @@ bool AMDGPUPromoteAllocaImpl::tryPromoteAllocaToVector(AllocaInst &Alloca) {
928
929
if (!isa<ConstantInt>(Index)) {
930
bool UsedInLoad = llvm::any_of(
931
- GEP->users(), [&](const auto *U){ return isa<LoadInst>(U); });
+ GEP->users(), [&](const auto *U) { return isa<LoadInst>(U); });
932
if (auto *UserVecTy =
933
dyn_cast<FixedVectorType>(GEP->getSourceElementType())) {
934
if (UsedInLoad &&
0 commit comments