summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2018-04-09 04:37:53 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2018-04-09 04:37:53 +0000
commit9ff2380ea6d2d186471b394227e332b705f1c7c9 (patch)
tree758973fd55b6e0941de91449ca6068056a6d18ff /llvm/lib/Support/APInt.cpp
parentf73514c81060cfb8f718b2b18322fe902a9d6f8c (diff)
downloadbcm5719-llvm-9ff2380ea6d2d186471b394227e332b705f1c7c9.tar.gz
bcm5719-llvm-9ff2380ea6d2d186471b394227e332b705f1c7c9.zip
[NFC] fix trivial typos in comments and error message
"is is" -> "is", "are are" -> "are" llvm-svn: 329546
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
-rw-r--r--llvm/lib/Support/APInt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/APInt.cpp b/llvm/lib/Support/APInt.cpp
index 603648b002b..cc3cedd460c 100644
--- a/llvm/lib/Support/APInt.cpp
+++ b/llvm/lib/Support/APInt.cpp
@@ -922,7 +922,7 @@ void APInt::ashrSlowCase(unsigned ShiftAmt) {
// Save the original sign bit for later.
bool Negative = isNegative();
- // WordShift is the inter-part shift; BitShift is is intra-part shift.
+ // WordShift is the inter-part shift; BitShift is intra-part shift.
unsigned WordShift = ShiftAmt / APINT_BITS_PER_WORD;
unsigned BitShift = ShiftAmt % APINT_BITS_PER_WORD;
OpenPOWER on IntegriCloud