summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorHaicheng Wu <haicheng@codeaurora.org>2017-12-19 20:53:32 +0000
committerHaicheng Wu <haicheng@codeaurora.org>2017-12-19 20:53:32 +0000
commit0be8825146e5c4bcf663d3300a98b97323924c37 (patch)
treecadd9653ef63612d557e08911b12a903d4a7799a /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent7934685c3d19229e7784594a2434649fc67cdf3d (diff)
downloadbcm5719-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.cpp2
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)
OpenPOWER on IntegriCloud