This is an archive of the discontinued LLVM Phabricator instance.

Revert EH-specific branch folding changes to avoid compilation slow down
ClosedPublic

Authored by andrew.w.kaylor on Jul 26 2016, 5:36 PM.

Details

Summary

This patch reverts a previous change (D14996) which was blowing up compilation times under certain circumstances. I don't think the conditions which motivated that change can occur since the introduction of catchswitch statements.

Reverting this change led to a couple of tests failing because the order of exception handlers is different than the tests expect, but I do not believe the difference is significant so I just updated the tests to reflect the new order. I'm posting this review primarily to get a second opinion on that judgment.

Diff Detail

Repository
rL LLVM

Event Timeline

andrew.w.kaylor retitled this revision from to Revert EH-specific branch folding changes to avoid compilation slow down.
andrew.w.kaylor updated this object.
andrew.w.kaylor set the repository for this revision to rL LLVM.
andrew.w.kaylor added subscribers: MatzeB, llvm-commits.
rnk accepted this revision.Jul 26 2016, 6:13 PM
rnk edited edge metadata.

lgtm

test/CodeGen/X86/wineh-coreclr.ll
309 ↗(On Diff #65638)

Thanks for the test case. :)

This revision is now accepted and ready to land.Jul 26 2016, 6:13 PM
This revision was automatically updated to reflect the committed changes.

Thanks for looking into this.