Fix the fill_clamp() function to handle signed source types. Make sure that the source value is always non-negative, and cast it to unsigned when verifying the upper bound. This fixes compiler warnings about comparing unsigned and signed types. Differential Revision: https://reviews.llvm.org/D113519
47 KiB
47 KiB