projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4e35595
)
Fix a typo. It's causing consumer-typeset to miscompile. Perhaps more.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 7 Mar 2008 22:39:49 +0000
(22:39 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 7 Mar 2008 22:39:49 +0000
(22:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48035
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 d5ce5035acaa80a92113e7bcb74157e1b08a399a..622d0f34362d704b82f2018a21cba2427845e96b 100644
(file)
--- a/
lib/Support/APInt.cpp
+++ b/
lib/Support/APInt.cpp
@@
-1175,7
+1175,7
@@
APInt APInt::ashr(uint32_t shiftAmt) const {
/// Logical right-shift this APInt by shiftAmt.
/// @brief Logical right-shift function.
APInt APInt::lshr(const APInt &shiftAmt) const {
- return
a
shr(shiftAmt.getLimitedValue(BitWidth));
+ return
l
shr(shiftAmt.getLimitedValue(BitWidth));
}
/// Logical right-shift this APInt by shiftAmt.