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:
58892a6
)
Fix indent. NFC.
author
Chad Rosier
<mcrosier@codeaurora.org>
Wed, 31 Aug 2016 18:37:52 +0000
(18:37 +0000)
committer
Chad Rosier
<mcrosier@codeaurora.org>
Wed, 31 Aug 2016 18:37:52 +0000
(18:37 +0000)
llvm-svn: 280270
llvm/lib/Analysis/LoopAccessAnalysis.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Analysis/LoopAccessAnalysis.cpp
b/llvm/lib/Analysis/LoopAccessAnalysis.cpp
index
8c761b4
..
81d2337
100644
(file)
--- a/
llvm/lib/Analysis/LoopAccessAnalysis.cpp
+++ b/
llvm/lib/Analysis/LoopAccessAnalysis.cpp
@@
-1029,8
+1029,8
@@
bool llvm::isConsecutiveAccess(Value *A, Value *B, const DataLayout &DL,
return false;
// Make sure that A and B have the same type if required.
- if(CheckType && PtrA->getType() != PtrB->getType())
-
return false;
+ if
(CheckType && PtrA->getType() != PtrB->getType())
+ return false;
unsigned PtrBitWidth = DL.getPointerSizeInBits(ASA);
Type *Ty = cast<PointerType>(PtrA->getType())->getElementType();