This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Added basic support for if/else/end_if in MC layer.
ClosedPublic

Authored by aardappel on Dec 20 2018, 5:39 PM.

Details

Summary

These instructions are currently unused in our backend, but for
completeness it is good to support them, so they can be used with
the assembler in hand-written code.

Tests are very basic, signature support missing much like other blocks.

Diff Detail

Repository
rL LLVM

Event Timeline

aardappel created this revision.Dec 20 2018, 5:39 PM
aheejin accepted this revision.Dec 20 2018, 5:57 PM

LGTM. It looks like the change depends on D55797, so I added it as a parent revision.

This revision is now accepted and ready to land.Dec 20 2018, 5:57 PM
This revision was automatically updated to reflect the committed changes.