]> granicus.if.org Git - llvm/commitdiff
[CGP] Format. NFC
authorHaicheng Wu <haicheng@codeaurora.org>
Tue, 19 Dec 2017 20:53:32 +0000 (20:53 +0000)
committerHaicheng Wu <haicheng@codeaurora.org>
Tue, 19 Dec 2017 20:53:32 +0000 (20:53 +0000)
Clang-format.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321107 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenPrepare.cpp

index c4794380f79129f9c6e99a773b7b9eea390abfac..afe1cedb9e3d2f7f04fac6358b91fae713229d7e 100644 (file)
@@ -3704,7 +3704,7 @@ bool AddressingModeMatcher::matchOperationAddr(User *AddrInst, unsigned Opcode,
       } else {
         uint64_t TypeSize = DL.getTypeAllocSize(GTI.getIndexedType());
         if (ConstantInt *CI = dyn_cast<ConstantInt>(AddrInst->getOperand(i))) {
-          ConstantOffset += CI->getSExtValue()*TypeSize;
+          ConstantOffset += CI->getSExtValue() * TypeSize;
         } else if (TypeSize) {  // Scales of zero don't do anything.
           // We only allow one variable index at the moment.
           if (VariableOperand != -1)