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:
5ab87a3
)
fix formatting; NFC
author
Sanjay Patel
<spatel@rotateright.com>
Tue, 21 Jul 2015 16:09:58 +0000
(16:09 +0000)
committer
Sanjay Patel
<spatel@rotateright.com>
Tue, 21 Jul 2015 16:09:58 +0000
(16:09 +0000)
llvm-svn: 242796
llvm/lib/IR/DataLayout.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/IR/DataLayout.cpp
b/llvm/lib/IR/DataLayout.cpp
index
4d867ef
..
80a59e0
100644
(file)
--- a/
llvm/lib/IR/DataLayout.cpp
+++ b/
llvm/lib/IR/DataLayout.cpp
@@
-461,8
+461,8
@@
unsigned DataLayout::getAlignmentInfo(AlignTypeEnum AlignType,
return ABIInfo ? Alignments[i].ABIAlign : Alignments[i].PrefAlign;
// The best match so far depends on what we're looking for.
-
if (AlignType == INTEGER_ALIGN &&
-
Alignments[i].AlignType == INTEGER_ALIGN) {
+ if (AlignType == INTEGER_ALIGN &&
+ Alignments[i].AlignType == INTEGER_ALIGN) {
// The "best match" for integers is the smallest size that is larger than
// the BitWidth requested.
if (Alignments[i].TypeBitWidth > BitWidth && (BestMatchIdx == -1 ||