This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Fix stackoverflow in propagateLiveness
Needs ReviewPublic

Authored by tyb0807 on May 4 2023, 2:58 AM.

Details

Summary

Recursion in propagateLiveness may lead to stackoverflow if the IR has many nested regions. Convert to an iterative algorithm to fix this.

Diff Detail

Event Timeline

tyb0807 created this revision.May 4 2023, 2:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 4 2023, 2:58 AM
tyb0807 requested review of this revision.May 4 2023, 2:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 4 2023, 2:58 AM