Displaying 1 result from an estimated 1 matches for "webassemblyasmparser".
2018 Dec 04
2
MC Assembler / tablegen: actually parsing variable_ops
...Target)GenAsmMatcher.inc) simply assumes that
variable_ops are not to be parsed (match table: Convert_NoOperands).
Now I understand that a variable length instruction is a weird concept for
most CPUs, but we need it for at least one instruction in WebAssembly. We
can probably hack around it in the WebAssemblyAsmParser, but I wonder if
there's something I am not understanding about variable_ops and the
generated asm matcher that might make for a cleaner solution.
The instruction in question:
https://github.com/llvm-mirror/llvm/blob/master/lib/Target/WebAssembly/WebAssemblyInstrControl.td#L45
-------------- n...