mirror of
https://github.com/clang-retro/llvm.git
synced 2026-12-05 16:49:15 -08:00
Important to consider that `arith` has wrap around semantics, and in C++ signed overflow is UB. Unless the operation guarantees that no signed overflow happens, we will perform the arithmetic in an equivalent unsigned type. `bool` also doesn't wrap around in C++, and is not addressed here.