This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Fix crash with empty/pseudo-only blocks in A53 erratum (835769) workaround
ClosedPublic

Authored by bsmith on Oct 14 2014, 4:15 AM.

Details

Reviewers
rengolin
Summary

This patch fixes a bug in the A53 erratum (835769) workaround, whereby the backend would assert if this phase was given an empty block or a pseudo only block (thought to not exist this late in codegen).

Diff Detail

Event Timeline

bsmith updated this revision to Diff 14855.Oct 14 2014, 4:15 AM
bsmith retitled this revision from to [AArch64] Fix crash with empty/pseudo-only blocks in A53 erratum (835769) workaround.
bsmith updated this object.
bsmith edited the test plan for this revision. (Show Details)
bsmith set the repository for this revision to rL LLVM.
bsmith added a subscriber: Unknown Object (MLST).
rengolin accepted this revision.Oct 14 2014, 5:55 AM
rengolin added a reviewer: rengolin.
rengolin added a subscriber: rengolin.

Hi Bradley, Looks good to me, with the comment. Thanks!

lib/Target/AArch64/AArch64A53Fix835769.cpp
161

would be good if this comment (modified) would go before the while.

This revision is now accepted and ready to land.Oct 14 2014, 5:55 AM
bsmith closed this revision.Oct 14 2014, 7:13 AM

Committed as 219684, thanks!