Skip to content

Commit 3b72499

Browse files
committed
nfc, formatting
1 parent 671de2f commit 3b72499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -927,8 +927,8 @@ bool AMDGPUPromoteAllocaImpl::tryPromoteAllocaToVector(AllocaInst &Alloca) {
927927
return RejectUser(Inst, "cannot compute vector index for GEP");
928928

929929
if (!isa<ConstantInt>(Index)) {
930-
bool UsedInLoad = llvm::any_of(GEP->users(),
931-
[&](const auto *U){ return isa<LoadInst>(U); });
930+
bool UsedInLoad = llvm::any_of(
931+
GEP->users(), [&](const auto *U){ return isa<LoadInst>(U); });
932932
if (auto *UserVecTy =
933933
dyn_cast<FixedVectorType>(GEP->getSourceElementType())) {
934934
if (UsedInLoad &&

0 commit comments

Comments
 (0)