1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Fix a typo. It's causing consumer-typeset to miscompile. Perhaps more.

llvm-svn: 48035
This commit is contained in:
Evan Cheng 2008-03-07 22:39:49 +00:00
parent e2d3f86306
commit 41a16a1347

View File

@ -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.