This is an archive of the discontinued LLVM Phabricator instance.

[mlir][bytecode] Fix lazy loading of non-isolated regions
ClosedPublic

Authored by rriddle on Jun 26 2023, 11:36 AM.

Details

Summary

The bytecode reader currently assumes all regions can be lazy
loaded, which breaks reading any non-isolated region. This patch
fixes that by properly handling nested non-lazy regions, and only
considers isolated regions as lazy.

Diff Detail

Event Timeline

rriddle created this revision.Jun 26 2023, 11:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 11:36 AM
rriddle requested review of this revision.Jun 26 2023, 11:36 AM
mehdi_amini accepted this revision.Jun 26 2023, 1:41 PM
This revision is now accepted and ready to land.Jun 26 2023, 1:41 PM
jpienaar accepted this revision.Jun 26 2023, 1:48 PM
Mogball accepted this revision.Jun 26 2023, 1:59 PM
This revision was automatically updated to reflect the committed changes.