diff options
author | Haicheng Wu <haicheng@codeaurora.org> | 2017-12-19 20:53:32 +0000 |
---|---|---|
committer | Haicheng Wu <haicheng@codeaurora.org> | 2017-12-19 20:53:32 +0000 |
commit | 0be8825146e5c4bcf663d3300a98b97323924c37 (patch) | |
tree | cadd9653ef63612d557e08911b12a903d4a7799a /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | 7934685c3d19229e7784594a2434649fc67cdf3d (diff) | |
download | bcm5719-llvm-0be8825146e5c4bcf663d3300a98b97323924c37.tar.gz bcm5719-llvm-0be8825146e5c4bcf663d3300a98b97323924c37.zip |
[CGP] Format. NFC
Clang-format.
llvm-svn: 321107
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
-rw-r--r-- | llvm/lib/CodeGen/CodeGenPrepare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp index c4794380f79..afe1cedb9e3 100644 --- a/llvm/lib/CodeGen/CodeGenPrepare.cpp +++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp @@ -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) |