mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
add missing operator
llvm-svn: 35613
This commit is contained in:
parent
9b66a372c8
commit
b5e5784b28
@ -542,6 +542,10 @@ public:
|
||||
APInt operator-(uint64_t RHS) const {
|
||||
return (*this) - APInt(BitWidth, RHS);
|
||||
}
|
||||
|
||||
APInt operator<<(unsigned Bits) const {
|
||||
return shl(Bits);
|
||||
}
|
||||
|
||||
/// Arithmetic right-shift this APInt by shiftAmt.
|
||||
/// @brief Arithmetic right-shift function.
|
||||
|
Loading…
Reference in New Issue
Block a user