Files
clang-p2996/llvm/lib/Support/APInt.cpp
Jay Foad bf358e27a4 [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
2023-05-25 16:05:32 +01:00

96 KiB