This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen][ShrinkWrapping] NFC: Replace isIrreducibleCFG by generic implementation.
AbandonedPublic

Authored by dcaballe on Jan 9 2018, 3:23 PM.

Details

Summary

The Machine-specific version of ‘isIrreducibleCFG’ utility function in ShrinkWrap was generalized for any kind of CFG in D40874.
This patch replaces the Machine-specific version with the generic version.

D40874 needs to be approved before committing this patch.

Thanks,
Diego

Diff Detail

Event Timeline

Hi Diego,

Could this patch be merged with D40874?
That would make it more obvious that the original code is moved around.

Cheers,
-Quentin

OK. I'll do that once I get some initial feedback on D40874.

Thanks,
Diego

dcaballe abandoned this revision.Jan 16 2018, 9:12 AM

This patch was merged with D40874.