Skip to content

Commit 8700e91

Browse files
committed
format
1 parent 904e5e0 commit 8700e91

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
@@ -931,8 +931,8 @@ bool AMDGPUPromoteAllocaImpl::tryPromoteAllocaToVector(AllocaInst &Alloca) {
931931
GEP->users(), [&](const auto *U) { return isa<LoadInst>(U); });
932932
if (auto *UserVecTy =
933933
dyn_cast<FixedVectorType>(GEP->getSourceElementType())) {
934-
if (UsedInLoad &&
935-
UserVecTy->getNumElements() > PromoteAllocaDynamicIndexNumberElementLimit) {
934+
if (UsedInLoad && UserVecTy->getNumElements() >
935+
PromoteAllocaDynamicIndexNumberElementLimit) {
936936
return RejectUser(Inst,
937937
"user has too many elements for dynamic index");
938938
}

0 commit comments

Comments
 (0)