{"push_id":2418763076,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"a17749935c91b63dbf4b567943331f0fe2511a73","before":"6265550ceb22f7a184506f3897306d8491eeeee5","commits":[{"sha":"a17749935c91b63dbf4b567943331f0fe2511a73","author":{"name":"Derek Schuff","email":"6fc51370fae51818b7d471ff30ce0e9ab75ce09e@google.com"},"message":"[WebAssembly] Added initial AsmParser implementation.\n\nIt uses the MC framework and the tablegen matcher to do the\nheavy lifting. Can handle both explicit and implicit locals\n(-disable-wasm-explicit-locals). Comes with a small regression\ntest.\n\nThis is a first basic implementation that can parse most llvm .s\noutput and round-trips most instructions succesfully, but in order\nto keep the commit small, does not address all issues.\n\nThere are a fair number of mismatches between what MC / assembly\nmatcher think a \"CPU\" should look like and what WASM provides,\nsome already have workarounds in this commit (e.g. the way it\ndeals with register operands) and some that require further work.\nSome of that further work may involve changing what the\nDisassembler outputs (and what s2wasm parses), so are probably\nbest left to followups.\n\nSome known things missing:\n- Many directives are ignored and not emitted.\n- Vararg calls are parsed but extra args not emitted.\n- Loop signatures are likely incorrect.\n- $drop= is not emitted.\n- Disassembler does not output SIMD types correctly, so assembler\n  can't test them.\n\nPatch by Wouter van Oortmerssen\n\nDifferential Revision: https://reviews.llvm.org/D44329\n\ngit-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@328028 91177308-0d34-0410-b5e6-96231b3b80d8","distinct":true,"url":"https://api.github.com/repos/llvm-project/llvm/commits/a17749935c91b63dbf4b567943331f0fe2511a73"}]}
{"actor":{"display_login":"chapuni"}}