Commit b27af83
committed
[IndVarSimplify] Refactor
`handleFloatingPointIV` is now abstracted out into different routines,
particularly:
- `maybeFloatingPointRecurrence` which establishes whether we handle a
floating-point iv recurrence;
- `tryConvertToIntegerIV` which attempts to convert the fp start, step
and exit values into integer ones;
- `canonicalizeToIntegerIV` which rewrites the recurrence.
Minor opportunity to modernize the code where possible.handleFloatingPointIV, modernize pass (NFC)1 parent e5d229d commit b27af83
1 file changed
+190
-99
lines changed
0 commit comments