This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Added default stack-only instruction mode for MC.
AbandonedPublic

Authored by aardappel on Aug 23 2018, 2:10 PM.

Details

Reviewers
dschuff
sunfish
Summary

Made it convert from register to stack based instructions, and removed the registers.
Fixes to related code that was expecting register based instructions.
Added the correct testing flag to all tests, depending on what the
format they were expecting so far.
Translated one test to stack format as example: reg-stackify-stack.ll

tested:
llvm-lit -v find test -name WebAssembly
unittests/MC/*

Diff Detail

Event Timeline

aardappel created this revision.Aug 23 2018, 2:10 PM

Apologies, this is still WiP

aheejin added inline comments.Aug 23 2018, 2:13 PM
test/CodeGen/WebAssembly/exception.ll
63

Fixed separately in rL339736.

aardappel abandoned this revision.May 7 2020, 3:24 PM

Obsolete, fixed elsewhere since.

Herald added a project: Restricted Project. · View Herald TranscriptMay 7 2020, 3:24 PM