projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7934685
)
[CGP] Format. NFC
author
Haicheng Wu
<haicheng@codeaurora.org>
Tue, 19 Dec 2017 20:53:32 +0000
(20:53 +0000)
committer
Haicheng Wu
<haicheng@codeaurora.org>
Tue, 19 Dec 2017 20:53:32 +0000
(20:53 +0000)
Clang-format.
llvm-svn: 321107
llvm/lib/CodeGen/CodeGenPrepare.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/CodeGenPrepare.cpp
b/llvm/lib/CodeGen/CodeGenPrepare.cpp
index
c479438
..
afe1ced
100644
(file)
--- 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)