This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Handle END_LOOP in unreachable BB in CFGStackify
ClosedPublic

Authored by aheejin on Mar 29 2019, 11:45 AM.

Details

Summary

This fixes crashes when a BB in which an END_LOOP is to be placed is
unreachable and does not have any predecessors. Fixes PR41307.

Diff Detail

Event Timeline

aheejin created this revision.Mar 29 2019, 11:45 AM
aheejin retitled this revision from [WebAssembly] Handle END_LOOP is in unreachable BB in CFGStackify to [WebAssembly] Handle END_LOOP in unreachable BB in CFGStackify.Mar 29 2019, 11:46 AM
aheejin updated this revision to Diff 192879.Mar 29 2019, 11:48 AM

Fix test name

aheejin edited the summary of this revision. (Show Details)Mar 29 2019, 11:56 AM
aheejin updated this revision to Diff 192883.Mar 29 2019, 11:57 AM
  • Test comment
aheejin edited the summary of this revision. (Show Details)Mar 29 2019, 11:58 AM
dschuff accepted this revision.Mar 29 2019, 12:30 PM
This revision is now accepted and ready to land.Mar 29 2019, 12:30 PM
This revision was automatically updated to reflect the committed changes.