This is an archive of the discontinued LLVM Phabricator instance.

[SROA] Improve handleling of assumes bundles by SROA
ClosedPublic

Authored by Tyker on Aug 25 2020, 1:06 PM.

Details

Summary

This patch fixes this crash https://gcc.godbolt.org/z/Ps8d1e
And gives SROA the ability to remove assumes if it allows promoting an alloca to register
Without removing assumes when it can't promote to register.

Diff Detail

Event Timeline

Tyker created this revision.Aug 25 2020, 1:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 25 2020, 1:06 PM
Tyker requested review of this revision.Aug 25 2020, 1:06 PM
This revision is now accepted and ready to land.Aug 25 2020, 1:27 PM
This revision was landed with ongoing or failed builds.Aug 28 2020, 12:56 PM
This revision was automatically updated to reflect the committed changes.