This is an archive of the discontinued LLVM Phabricator instance.

[mlir][interfaces] Fix infinite loop in insideMutuallyExclusiveRegions
ClosedPublic

Authored by springerm on Apr 14 2022, 6:02 AM.

Details

Summary

This function was missing a termination condition.

Depends On D123789

Diff Detail

Event Timeline

springerm created this revision.Apr 14 2022, 6:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 14 2022, 6:02 AM
springerm requested review of this revision.Apr 14 2022, 6:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 14 2022, 6:02 AM
ftynse accepted this revision.Apr 14 2022, 6:40 AM
ftynse added inline comments.
mlir/lib/Interfaces/ControlFlowInterfaces.cpp
242

Nit: you may want to assert that regions belong to the same op.

This revision is now accepted and ready to land.Apr 14 2022, 6:40 AM