[APInt] Add unsigned overloads of shift functions
Add overloads of sshl_ov, ushl_ov, sshl_sat and ushl_sat that take the shift amount as unsigned instead of APInt. This matches what we do for the normal shift operators and can help to avoid creating temporary APInts in some cases. Differential Revision: https://reviews.llvm.org/D151420
Loading
Please sign in to comment