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:
parent
e2d3f86306
commit
41a16a1347
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user