projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dbf6d37
)
Combine two lines that can be.
author
Reid Spencer
<rspencer@reidspencer.com>
Thu, 1 Mar 2007 23:30:25 +0000
(23:30 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Thu, 1 Mar 2007 23:30:25 +0000
(23:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34818
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/APInt.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/APInt.cpp
b/lib/Support/APInt.cpp
index da8e77a7a0e7614851ee25c5ca8270062974c95d..9b000da0ee39eab2ba5fecae1a07182728055d19 100644
(file)
--- a/
lib/Support/APInt.cpp
+++ b/
lib/Support/APInt.cpp
@@
-943,8
+943,7
@@
APInt &APInt::sext(uint32_t width) {
VAL |= mask;
else
pVal[wordsBefore-1] |= mask;
VAL |= mask;
else
pVal[wordsBefore-1] |= mask;
- clearUnusedBits();
- return *this;
+ return clearUnusedBits();
}
uint64_t mask = wordBits == 0 ? 0 : ~0ULL << wordBits;
}
uint64_t mask = wordBits == 0 ? 0 : ~0ULL << wordBits;