summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DataLayout.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-07-21 16:09:58 +0000
committerSanjay Patel <spatel@rotateright.com>2015-07-21 16:09:58 +0000
commit42af5c6050ffed67c675e9118bd2af85b5e6e35d (patch)
tree35c9dd121bada3fe393ee793427a310a252f74c7 /llvm/lib/IR/DataLayout.cpp
parent5ab87a3b19153f2c4e049b1b0cda6a98c25cdd0a (diff)
downloadbcm5719-llvm-42af5c6050ffed67c675e9118bd2af85b5e6e35d.tar.gz
bcm5719-llvm-42af5c6050ffed67c675e9118bd2af85b5e6e35d.zip
fix formatting; NFC
llvm-svn: 242796
Diffstat (limited to 'llvm/lib/IR/DataLayout.cpp')
-rw-r--r--llvm/lib/IR/DataLayout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/DataLayout.cpp b/llvm/lib/IR/DataLayout.cpp
index 4d867efe1b3..80a59e05bc5 100644
--- 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 ||
OpenPOWER on IntegriCloud