This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Enable IndirectBrExpandPass
ClosedPublic

Authored by dschuff on Jul 3 2019, 2:27 PM.

Details

Summary

Wasm doesn't have a direct way to lower indirectbr, so hook up the
IndirectBrExpandPass to lower indirectbr into a switch.

Fixes PR42498

Diff Detail

Repository
rL LLVM

Event Timeline

dschuff created this revision.Jul 3 2019, 2:27 PM
aheejin accepted this revision.Jul 3 2019, 3:28 PM

This is great!

This revision is now accepted and ready to land.Jul 3 2019, 3:28 PM
This revision was automatically updated to reflect the committed changes.