Open
Description
When analyzing operations that might exhibit overflow, we can often determine whether or not such an overflow could occur, which is data that can be expressed using the nuw and nsw overflow flags. This is information that can be annotated onto operations and might be usable to make some bits of the analysis more precise.
So the ConstantIntRanges struct could grow a std::optionalarith::OverflowFlags field to mark whether the associated operation could've overflowed while computing that result.