This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Call isLoopExiting for blocks in the loop.
ClosedPublic

Authored by fhahn on Jun 30 2019, 1:15 PM.

Details

Summary

isLoopExiting should only be called for blocks in the loop. A follow
up patch makes this requirement an assertion.

I've updated the usage here, to only match for actual exit blocks. Previously,
it would also match blocks not in the loop.

Diff Detail

Repository
rL LLVM

Event Timeline

fhahn created this revision.Jun 30 2019, 1:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 30 2019, 1:15 PM
nhaehnle accepted this revision.Jul 1 2019, 2:02 AM

LGTM

This revision is now accepted and ready to land.Jul 1 2019, 2:02 AM
This revision was automatically updated to reflect the committed changes.