Antonio Frighetto eaf3a91722
[IndVarSimplify] Ensure fp values can be represented as exact integers
When transforming floating-point induction variables into integer ones,
make sure we stay within the bounds of fp values that can be represented
as integers without gaps, i.e., 2^24 and 2^53 for IEEE-754 single and
double precision respectively (both on negative and positive side).

Fixes: https://github.com/llvm/llvm-project/issues/166496.
2025-11-11 10:30:58 +01:00
..