From: Craig Topper Date: Fri, 13 Mar 2020 19:19:36 +0000 (-0700) Subject: [IR] Fix formatting. NFC X-Git-Tag: llvmorg-12-init~12114 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d192e09d808311b2be3eecb2583c75e7ff1d67f;p=platform%2Fupstream%2Fllvm.git [IR] Fix formatting. NFC --- diff --git a/llvm/lib/IR/Constants.cpp b/llvm/lib/IR/Constants.cpp index c609add..c68b461 100644 --- a/llvm/lib/IR/Constants.cpp +++ b/llvm/lib/IR/Constants.cpp @@ -2121,7 +2121,8 @@ Constant *ConstantExpr::getGetElementPtr(Type *Ty, Constant *C, ElementCount EltCount = {0, false}; if (VectorType *VecTy = dyn_cast(C->getType())) EltCount = VecTy->getElementCount(); - else for (auto Idx : Idxs) + else + for (auto Idx : Idxs) if (VectorType *VecTy = dyn_cast(Idx->getType())) EltCount = VecTy->getElementCount();