[IR] Fix formatting. NFC
authorCraig Topper <craig.topper@intel.com>
Fri, 13 Mar 2020 19:19:36 +0000 (12:19 -0700)
committerCraig Topper <craig.topper@intel.com>
Fri, 13 Mar 2020 21:00:20 +0000 (14:00 -0700)
llvm/lib/IR/Constants.cpp

index c609add..c68b461 100644 (file)
@@ -2121,7 +2121,8 @@ Constant *ConstantExpr::getGetElementPtr(Type *Ty, Constant *C,
   ElementCount EltCount = {0, false};
   if (VectorType *VecTy = dyn_cast<VectorType>(C->getType()))
     EltCount = VecTy->getElementCount();
-  else for (auto Idx : Idxs)
+  else
+    for (auto Idx : Idxs)
       if (VectorType *VecTy = dyn_cast<VectorType>(Idx->getType()))
         EltCount = VecTy->getElementCount();