This is an archive of the discontinued LLVM Phabricator instance.

[LoopFusion] Bails out if only the second candidate is guarded (PR48060)
ClosedPublic

Authored by TaWeiTu on Apr 1 2021, 3:40 AM.

Details

Summary

If only the second candidate loop is guarded while the first one is not, fusioning
two loops might not be valid but this check is currently missing.

Fixes https://bugs.llvm.org/show_bug.cgi?id=48060

Diff Detail

Event Timeline

TaWeiTu created this revision.Apr 1 2021, 3:40 AM
TaWeiTu requested review of this revision.Apr 1 2021, 3:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 1 2021, 3:40 AM
sidbav accepted this revision.Apr 5 2021, 9:07 AM

LGTM

This revision is now accepted and ready to land.Apr 5 2021, 9:07 AM
This revision was landed with ongoing or failed builds.Apr 5 2021, 10:09 AM
This revision was automatically updated to reflect the committed changes.