mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Fix a typo. It's causing consumer-typeset to miscompile. Perhaps more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48035 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1175,7 +1175,7 @@ APInt APInt::ashr(uint32_t shiftAmt) const {
|
|||||||
/// Logical right-shift this APInt by shiftAmt.
|
/// Logical right-shift this APInt by shiftAmt.
|
||||||
/// @brief Logical right-shift function.
|
/// @brief Logical right-shift function.
|
||||||
APInt APInt::lshr(const APInt &shiftAmt) const {
|
APInt APInt::lshr(const APInt &shiftAmt) const {
|
||||||
return ashr(shiftAmt.getLimitedValue(BitWidth));
|
return lshr(shiftAmt.getLimitedValue(BitWidth));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Logical right-shift this APInt by shiftAmt.
|
/// Logical right-shift this APInt by shiftAmt.
|
||||||
|
Reference in New Issue
Block a user