Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Static rewrites include HOP DAG and statement block rewrites. We apply these rewrites multiple times during compilation (e.g., rewrites followed by multiple passes of IPA). Some of the static rewrites such as RewriteInjectSparkLoopCheckpointing assume that they are called once for a program. Applying them multiple times leads to redundant statement blocks with redundant checkpoint instructions. Accordingly, IPA should explicitly disable such rewrites.