1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[IR] Fix formatting. NFC

This commit is contained in:
Craig Topper 2020-03-13 12:19:36 -07:00
parent c3e7231c1f
commit 68f278abc5

View 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();