diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-03-07 22:39:49 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-03-07 22:39:49 +0000 |
commit | 4e97e94809b8e9205e5aa38a772b3ac5aedacbea (patch) | |
tree | 845ca03b99651b39ceac7e7c71bc5642b891de42 /llvm/lib/Support | |
parent | 6c11f47c544847df1893edf1aa6d3dbb6cdd265d (diff) | |
download | bcm5719-llvm-4e97e94809b8e9205e5aa38a772b3ac5aedacbea.tar.gz bcm5719-llvm-4e97e94809b8e9205e5aa38a772b3ac5aedacbea.zip |
Fix a typo. It's causing consumer-typeset to miscompile. Perhaps more.
llvm-svn: 48035
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/APInt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/APInt.cpp b/llvm/lib/Support/APInt.cpp index d5ce5035aca..622d0f34362 100644 --- a/llvm/lib/Support/APInt.cpp +++ b/llvm/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 ashr(shiftAmt.getLimitedValue(BitWidth)); + return lshr(shiftAmt.getLimitedValue(BitWidth)); } /// Logical right-shift this APInt by shiftAmt. |