Skip to content

Commit b27af83

Browse files
[IndVarSimplify] Refactor handleFloatingPointIV, modernize pass (NFC)
`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.
1 parent e5d229d commit b27af83

File tree

1 file changed

+190
-99
lines changed

1 file changed

+190
-99
lines changed

0 commit comments

Comments
 (0)